Interface EdgeDeployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EdgeDeployment.Builder,
,EdgeDeployment> SdkBuilder<EdgeDeployment.Builder,
,EdgeDeployment> SdkPojo
- Enclosing class:
EdgeDeployment
@Mutable
@NotThreadSafe
public static interface EdgeDeployment.Builder
extends SdkPojo, CopyableBuilder<EdgeDeployment.Builder,EdgeDeployment>
-
Method Summary
Modifier and TypeMethodDescriptiondefinitions
(Collection<Definition> definitions) Returns a list of Definition objects.definitions
(Consumer<Definition.Builder>... definitions) Returns a list of Definition objects.definitions
(Definition... definitions) Returns a list of Definition objects.deploymentName
(String deploymentName) The name and unique ID of the deployment.failureHandlingPolicy
(String failureHandlingPolicy) Determines whether to rollback to previous configuration if deployment fails.failureHandlingPolicy
(FailureHandlingPolicy failureHandlingPolicy) Determines whether to rollback to previous configuration if deployment fails.The type of the deployment.type
(DeploymentType type) The type of the deployment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
deploymentName
The name and unique ID of the deployment.
- Parameters:
deploymentName
- The name and unique ID of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the deployment.
- Parameters:
type
- The type of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the deployment.
- Parameters:
type
- The type of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureHandlingPolicy
Determines whether to rollback to previous configuration if deployment fails.
- Parameters:
failureHandlingPolicy
- Determines whether to rollback to previous configuration if deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureHandlingPolicy
Determines whether to rollback to previous configuration if deployment fails.
- Parameters:
failureHandlingPolicy
- Determines whether to rollback to previous configuration if deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definitions
Returns a list of Definition objects.
- Parameters:
definitions
- Returns a list of Definition objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitions
Returns a list of Definition objects.
- Parameters:
definitions
- Returns a list of Definition objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitions
Returns a list of Definition objects.
This is a convenience method that creates an instance of theDefinition.Builder
avoiding the need to create one manually viaDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinitions(List<Definition>)
.- Parameters:
definitions
- a consumer that will call methods onDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-