Interface DeploymentConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentConfig.Builder,
,DeploymentConfig> SdkBuilder<DeploymentConfig.Builder,
,DeploymentConfig> SdkPojo
- Enclosing class:
DeploymentConfig
public static interface DeploymentConfig.Builder
extends SdkPojo, CopyableBuilder<DeploymentConfig.Builder,DeploymentConfig>
-
Method Summary
Modifier and TypeMethodDescriptionconcurrentDeploymentPercentage
(Integer concurrentDeploymentPercentage) The percentage of robots receiving the deployment at the same time.default DeploymentConfig.Builder
downloadConditionFile
(Consumer<S3Object.Builder> downloadConditionFile) The download condition file.downloadConditionFile
(S3Object downloadConditionFile) The download condition file.failureThresholdPercentage
(Integer failureThresholdPercentage) The percentage of deployments that need to fail before stopping deployment.robotDeploymentTimeoutInSeconds
(Long robotDeploymentTimeoutInSeconds) The amount of time, in seconds, to wait for deployment to a single robot to complete.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, sdkFields
-
Method Details
-
concurrentDeploymentPercentage
The percentage of robots receiving the deployment at the same time.
- Parameters:
concurrentDeploymentPercentage
- The percentage of robots receiving the deployment at the same time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureThresholdPercentage
The percentage of deployments that need to fail before stopping deployment.
- Parameters:
failureThresholdPercentage
- The percentage of deployments that need to fail before stopping deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotDeploymentTimeoutInSeconds
The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.
- Parameters:
robotDeploymentTimeoutInSeconds
- The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downloadConditionFile
The download condition file.
- Parameters:
downloadConditionFile
- The download condition file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downloadConditionFile
default DeploymentConfig.Builder downloadConditionFile(Consumer<S3Object.Builder> downloadConditionFile) The download condition file.
This is a convenience method that creates an instance of theS3Object.Builder
avoiding the need to create one manually viaS3Object.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todownloadConditionFile(S3Object)
.- Parameters:
downloadConditionFile
- a consumer that will call methods onS3Object.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-