Interface DaemonDeployment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DaemonDeployment.Builder,,DaemonDeployment> SdkBuilder<DaemonDeployment.Builder,,DaemonDeployment> SdkPojo
- Enclosing class:
DaemonDeployment
-
Method Summary
Modifier and TypeMethodDescriptiondefault DaemonDeployment.Builderalarms(Consumer<DaemonDeploymentAlarms.Builder> alarms) The CloudWatch alarms that determine when a daemon deployment fails.alarms(DaemonDeploymentAlarms alarms) The CloudWatch alarms that determine when a daemon deployment fails.default DaemonDeployment.BuildercircuitBreaker(Consumer<DaemonCircuitBreaker.Builder> circuitBreaker) The circuit breaker configuration that determines when a daemon deployment has failed.circuitBreaker(DaemonCircuitBreaker circuitBreaker) The circuit breaker configuration that determines when a daemon deployment has failed.clusterArn(String clusterArn) The Amazon Resource Name (ARN) of the cluster that hosts the daemon.The time the daemon deployment was created.daemonDeploymentArn(String daemonDeploymentArn) The Amazon Resource Name (ARN) of the daemon deployment.default DaemonDeployment.BuilderdeploymentConfiguration(Consumer<DaemonDeploymentConfiguration.Builder> deploymentConfiguration) The deployment configuration used for this daemon deployment.deploymentConfiguration(DaemonDeploymentConfiguration deploymentConfiguration) The deployment configuration used for this daemon deployment.finishedAt(Instant finishedAt) The time the daemon deployment finished.default DaemonDeployment.Builderrollback(Consumer<DaemonRollback.Builder> rollback) The rollback options for the daemon deployment.rollback(DaemonRollback rollback) The rollback options for the daemon deployment.sourceDaemonRevisions(Collection<DaemonDeploymentRevisionDetail> sourceDaemonRevisions) The currently deployed daemon revisions that are being replaced.sourceDaemonRevisions(Consumer<DaemonDeploymentRevisionDetail.Builder>... sourceDaemonRevisions) The currently deployed daemon revisions that are being replaced.sourceDaemonRevisions(DaemonDeploymentRevisionDetail... sourceDaemonRevisions) The currently deployed daemon revisions that are being replaced.The time the daemon deployment started.The status of the daemon deployment.status(DaemonDeploymentStatus status) The status of the daemon deployment.statusReason(String statusReason) Information about why the daemon deployment is in the current status.The time the daemon deployment stopped.default DaemonDeployment.BuildertargetDaemonRevision(Consumer<DaemonDeploymentRevisionDetail.Builder> targetDaemonRevision) The daemon revision being deployed.targetDaemonRevision(DaemonDeploymentRevisionDetail targetDaemonRevision) The daemon revision being deployed.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
-
daemonDeploymentArn
The Amazon Resource Name (ARN) of the daemon deployment.
- Parameters:
daemonDeploymentArn- The Amazon Resource Name (ARN) of the daemon deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
The Amazon Resource Name (ARN) of the cluster that hosts the daemon.
- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the cluster that hosts the daemon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the daemon deployment.
- Parameters:
status- The status of the daemon deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the daemon deployment.
- Parameters:
status- The status of the daemon deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Information about why the daemon deployment is in the current status.
- Parameters:
statusReason- Information about why the daemon deployment is in the current status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDaemonRevision
The daemon revision being deployed.
- Parameters:
targetDaemonRevision- The daemon revision being deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDaemonRevision
default DaemonDeployment.Builder targetDaemonRevision(Consumer<DaemonDeploymentRevisionDetail.Builder> targetDaemonRevision) The daemon revision being deployed.
This is a convenience method that creates an instance of theDaemonDeploymentRevisionDetail.Builderavoiding the need to create one manually viaDaemonDeploymentRevisionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetDaemonRevision(DaemonDeploymentRevisionDetail).- Parameters:
targetDaemonRevision- a consumer that will call methods onDaemonDeploymentRevisionDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceDaemonRevisions
DaemonDeployment.Builder sourceDaemonRevisions(Collection<DaemonDeploymentRevisionDetail> sourceDaemonRevisions) The currently deployed daemon revisions that are being replaced.
- Parameters:
sourceDaemonRevisions- The currently deployed daemon revisions that are being replaced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDaemonRevisions
DaemonDeployment.Builder sourceDaemonRevisions(DaemonDeploymentRevisionDetail... sourceDaemonRevisions) The currently deployed daemon revisions that are being replaced.
- Parameters:
sourceDaemonRevisions- The currently deployed daemon revisions that are being replaced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDaemonRevisions
DaemonDeployment.Builder sourceDaemonRevisions(Consumer<DaemonDeploymentRevisionDetail.Builder>... sourceDaemonRevisions) The currently deployed daemon revisions that are being replaced.
This is a convenience method that creates an instance of theDaemonDeploymentRevisionDetail.Builderavoiding the need to create one manually viaDaemonDeploymentRevisionDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceDaemonRevisions(List<DaemonDeploymentRevisionDetail>).- Parameters:
sourceDaemonRevisions- a consumer that will call methods onDaemonDeploymentRevisionDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
circuitBreaker
The circuit breaker configuration that determines when a daemon deployment has failed.
- Parameters:
circuitBreaker- The circuit breaker configuration that determines when a daemon deployment has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
circuitBreaker
default DaemonDeployment.Builder circuitBreaker(Consumer<DaemonCircuitBreaker.Builder> circuitBreaker) The circuit breaker configuration that determines when a daemon deployment has failed.
This is a convenience method that creates an instance of theDaemonCircuitBreaker.Builderavoiding the need to create one manually viaDaemonCircuitBreaker.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocircuitBreaker(DaemonCircuitBreaker).- Parameters:
circuitBreaker- a consumer that will call methods onDaemonCircuitBreaker.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alarms
The CloudWatch alarms that determine when a daemon deployment fails.
- Parameters:
alarms- The CloudWatch alarms that determine when a daemon deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alarms
The CloudWatch alarms that determine when a daemon deployment fails.
This is a convenience method that creates an instance of theDaemonDeploymentAlarms.Builderavoiding the need to create one manually viaDaemonDeploymentAlarms.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalarms(DaemonDeploymentAlarms).- Parameters:
alarms- a consumer that will call methods onDaemonDeploymentAlarms.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rollback
The rollback options for the daemon deployment.
- Parameters:
rollback- The rollback options for the daemon deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollback
The rollback options for the daemon deployment.
This is a convenience method that creates an instance of theDaemonRollback.Builderavoiding the need to create one manually viaDaemonRollback.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torollback(DaemonRollback).- Parameters:
rollback- a consumer that will call methods onDaemonRollback.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfiguration
DaemonDeployment.Builder deploymentConfiguration(DaemonDeploymentConfiguration deploymentConfiguration) The deployment configuration used for this daemon deployment.
- Parameters:
deploymentConfiguration- The deployment configuration used for this daemon deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfiguration
default DaemonDeployment.Builder deploymentConfiguration(Consumer<DaemonDeploymentConfiguration.Builder> deploymentConfiguration) The deployment configuration used for this daemon deployment.
This is a convenience method that creates an instance of theDaemonDeploymentConfiguration.Builderavoiding the need to create one manually viaDaemonDeploymentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfiguration(DaemonDeploymentConfiguration).- Parameters:
deploymentConfiguration- a consumer that will call methods onDaemonDeploymentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the daemon deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Parameters:
createdAt- The time the daemon deployment was created. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
The time the daemon deployment started. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Parameters:
startedAt- The time the daemon deployment started. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedAt
The time the daemon deployment stopped. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Parameters:
stoppedAt- The time the daemon deployment stopped. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finishedAt
The time the daemon deployment finished. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.
- Parameters:
finishedAt- The time the daemon deployment finished. The format is yyyy-MM-dd HH:mm:ss.SSSSSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-