Interface VersionPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VersionPolicy.Builder,,VersionPolicy> SdkBuilder<VersionPolicy.Builder,,VersionPolicy> SdkPojo
- Enclosing class:
VersionPolicy
@Mutable
@NotThreadSafe
public static interface VersionPolicy.Builder
extends SdkPojo, CopyableBuilder<VersionPolicy.Builder,VersionPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionupdateStrategy(String updateStrategy) The update strategy to use when a new extension version is available.updateStrategy(UpdateStrategy updateStrategy) The update strategy to use when a new extension version is available.versionSelector(String versionSelector) An optional version selector that constrains which versions are eligible.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
updateStrategy
The update strategy to use when a new extension version is available.
- Parameters:
updateStrategy- The update strategy to use when a new extension version is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateStrategy
The update strategy to use when a new extension version is available.
- Parameters:
updateStrategy- The update strategy to use when a new extension version is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
versionSelector
An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version
- Parameters:
versionSelector- An optional version selector that constrains which versions are eligible. If the strategy is AUTOMATIC, this allows limiting updates to patches within a minor version. When MANUAL, the value must correspond to a specific Extension version- Returns:
- Returns a reference to this object so that method calls can be chained together.
-