Interface Deployment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Deployment.Builder,Deployment>,SdkBuilder<Deployment.Builder,Deployment>,SdkPojo
- Enclosing class:
- Deployment
public static interface Deployment.Builder extends SdkPojo, CopyableBuilder<Deployment.Builder,Deployment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Deployment.Builderarn(String arn)The Amazon Resource Name (ARN) of the deployment.Deployment.BuildercompletedAt(Instant completedAt)The date and time the deployment was completed.Deployment.BuildercomponentName(String componentName)The name of the component associated with this deployment.Deployment.BuildercreatedAt(Instant createdAt)The date and time the deployment was created.Deployment.BuilderdeploymentStatus(String deploymentStatus)The status of the deployment.Deployment.BuilderdeploymentStatus(DeploymentStatus deploymentStatus)The status of the deployment.Deployment.BuilderdeploymentStatusMessage(String deploymentStatusMessage)The deployment status message.Deployment.BuilderenvironmentName(String environmentName)The name of the environment associated with this deployment.Deployment.Builderid(String id)The ID of the deployment.default Deployment.BuilderinitialState(Consumer<DeploymentState.Builder> initialState)The initial state of the target resource at the time of the deployment.Deployment.BuilderinitialState(DeploymentState initialState)The initial state of the target resource at the time of the deployment.Deployment.BuilderlastAttemptedDeploymentId(String lastAttemptedDeploymentId)The ID of the last attempted deployment.Deployment.BuilderlastModifiedAt(Instant lastModifiedAt)The date and time the deployment was last modified.Deployment.BuilderlastSucceededDeploymentId(String lastSucceededDeploymentId)The ID of the last successful deployment.Deployment.BuilderserviceInstanceName(String serviceInstanceName)The name of the deployment's service instance.Deployment.BuilderserviceName(String serviceName)The name of the service in this deployment.Deployment.BuildertargetArn(String targetArn)The Amazon Resource Name (ARN) of the target of the deployment.Deployment.BuildertargetResourceCreatedAt(Instant targetResourceCreatedAt)The date and time the depoyment target was created.Deployment.BuildertargetResourceType(String targetResourceType)The resource type of the deployment target.Deployment.BuildertargetResourceType(DeploymentTargetResourceType targetResourceType)The resource type of the deployment target.default Deployment.BuildertargetState(Consumer<DeploymentState.Builder> targetState)The target state of the target resource at the time of the deployment.Deployment.BuildertargetState(DeploymentState targetState)The target state of the target resource at the time 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, sdkFields
-
-
-
-
Method Detail
-
arn
Deployment.Builder arn(String arn)
The Amazon Resource Name (ARN) of the deployment.
- Parameters:
arn- The Amazon Resource Name (ARN) of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
Deployment.Builder completedAt(Instant completedAt)
The date and time the deployment was completed.
- Parameters:
completedAt- The date and time the deployment was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentName
Deployment.Builder componentName(String componentName)
The name of the component associated with this deployment.
- Parameters:
componentName- The name of the component associated with this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Deployment.Builder createdAt(Instant createdAt)
The date and time the deployment was created.
- Parameters:
createdAt- The date and time the deployment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatus
Deployment.Builder deploymentStatus(String deploymentStatus)
The status of the deployment.
- Parameters:
deploymentStatus- The status of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentStatus,DeploymentStatus
-
deploymentStatus
Deployment.Builder deploymentStatus(DeploymentStatus deploymentStatus)
The status of the deployment.
- Parameters:
deploymentStatus- The status of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentStatus,DeploymentStatus
-
deploymentStatusMessage
Deployment.Builder deploymentStatusMessage(String deploymentStatusMessage)
The deployment status message.
- Parameters:
deploymentStatusMessage- The deployment status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
Deployment.Builder environmentName(String environmentName)
The name of the environment associated with this deployment.
- Parameters:
environmentName- The name of the environment associated with this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
Deployment.Builder id(String id)
The ID of the deployment.
- Parameters:
id- The ID of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialState
Deployment.Builder initialState(DeploymentState initialState)
The initial state of the target resource at the time of the deployment.
- Parameters:
initialState- The initial state of the target resource at the time of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialState
default Deployment.Builder initialState(Consumer<DeploymentState.Builder> initialState)
The initial state of the target resource at the time of the deployment.
This is a convenience method that creates an instance of theDeploymentState.Builderavoiding the need to create one manually viaDeploymentState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitialState(DeploymentState).- Parameters:
initialState- a consumer that will call methods onDeploymentState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
initialState(DeploymentState)
-
lastAttemptedDeploymentId
Deployment.Builder lastAttemptedDeploymentId(String lastAttemptedDeploymentId)
The ID of the last attempted deployment.
- Parameters:
lastAttemptedDeploymentId- The ID of the last attempted deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
Deployment.Builder lastModifiedAt(Instant lastModifiedAt)
The date and time the deployment was last modified.
- Parameters:
lastModifiedAt- The date and time the deployment was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSucceededDeploymentId
Deployment.Builder lastSucceededDeploymentId(String lastSucceededDeploymentId)
The ID of the last successful deployment.
- Parameters:
lastSucceededDeploymentId- The ID of the last successful deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceInstanceName
Deployment.Builder serviceInstanceName(String serviceInstanceName)
The name of the deployment's service instance.
- Parameters:
serviceInstanceName- The name of the deployment's service instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
Deployment.Builder serviceName(String serviceName)
The name of the service in this deployment.
- Parameters:
serviceName- The name of the service in this deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetArn
Deployment.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) of the target of the deployment.
- Parameters:
targetArn- The Amazon Resource Name (ARN) of the target of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResourceCreatedAt
Deployment.Builder targetResourceCreatedAt(Instant targetResourceCreatedAt)
The date and time the depoyment target was created.
- Parameters:
targetResourceCreatedAt- The date and time the depoyment target was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResourceType
Deployment.Builder targetResourceType(String targetResourceType)
The resource type of the deployment target. It can be an environment, service, service instance, or component.
- Parameters:
targetResourceType- The resource type of the deployment target. It can be an environment, service, service instance, or component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentTargetResourceType,DeploymentTargetResourceType
-
targetResourceType
Deployment.Builder targetResourceType(DeploymentTargetResourceType targetResourceType)
The resource type of the deployment target. It can be an environment, service, service instance, or component.
- Parameters:
targetResourceType- The resource type of the deployment target. It can be an environment, service, service instance, or component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentTargetResourceType,DeploymentTargetResourceType
-
targetState
Deployment.Builder targetState(DeploymentState targetState)
The target state of the target resource at the time of the deployment.
- Parameters:
targetState- The target state of the target resource at the time of the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetState
default Deployment.Builder targetState(Consumer<DeploymentState.Builder> targetState)
The target state of the target resource at the time of the deployment.
This is a convenience method that creates an instance of theDeploymentState.Builderavoiding the need to create one manually viaDeploymentState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetState(DeploymentState).- Parameters:
targetState- a consumer that will call methods onDeploymentState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
targetState(DeploymentState)
-
-