Interface CloudFormationTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CloudFormationTarget.Builder,CloudFormationTarget>,SdkBuilder<CloudFormationTarget.Builder,CloudFormationTarget>,SdkPojo
- Enclosing class:
- CloudFormationTarget
public static interface CloudFormationTarget.Builder extends SdkPojo, CopyableBuilder<CloudFormationTarget.Builder,CloudFormationTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudFormationTarget.BuilderdeploymentId(String deploymentId)The unique ID of an CloudFormation blue/green deployment.CloudFormationTarget.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when the target application was updated by an CloudFormation blue/green deployment.CloudFormationTarget.BuilderlifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)The lifecycle events of the CloudFormation blue/green deployment to this target application.CloudFormationTarget.BuilderlifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)The lifecycle events of the CloudFormation blue/green deployment to this target application.CloudFormationTarget.BuilderlifecycleEvents(LifecycleEvent... lifecycleEvents)The lifecycle events of the CloudFormation blue/green deployment to this target application.CloudFormationTarget.BuilderresourceType(String resourceType)The resource type for the CloudFormation blue/green deployment.CloudFormationTarget.Builderstatus(String status)The status of an CloudFormation blue/green deployment's target application.CloudFormationTarget.Builderstatus(TargetStatus status)The status of an CloudFormation blue/green deployment's target application.CloudFormationTarget.BuildertargetId(String targetId)The unique ID of a deployment target that has a type ofCloudFormationTarget.CloudFormationTarget.BuildertargetVersionWeight(Double targetVersionWeight)The percentage of production traffic that the target version of an CloudFormation blue/green deployment receives.-
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 Detail
-
deploymentId
CloudFormationTarget.Builder deploymentId(String deploymentId)
The unique ID of an CloudFormation blue/green deployment.
- Parameters:
deploymentId- The unique ID of an CloudFormation blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetId
CloudFormationTarget.Builder targetId(String targetId)
The unique ID of a deployment target that has a type of
CloudFormationTarget.- Parameters:
targetId- The unique ID of a deployment target that has a type ofCloudFormationTarget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
CloudFormationTarget.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the target application was updated by an CloudFormation blue/green deployment.
- Parameters:
lastUpdatedAt- The date and time when the target application was updated by an CloudFormation blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
CloudFormationTarget.Builder lifecycleEvents(Collection<LifecycleEvent> lifecycleEvents)
The lifecycle events of the CloudFormation blue/green deployment to this target application.
- Parameters:
lifecycleEvents- The lifecycle events of the CloudFormation blue/green deployment to this target application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
CloudFormationTarget.Builder lifecycleEvents(LifecycleEvent... lifecycleEvents)
The lifecycle events of the CloudFormation blue/green deployment to this target application.
- Parameters:
lifecycleEvents- The lifecycle events of the CloudFormation blue/green deployment to this target application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
CloudFormationTarget.Builder lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents)
The lifecycle events of the CloudFormation blue/green deployment to this target application.
This is a convenience method that creates an instance of theLifecycleEvent.Builderavoiding the need to create one manually viaLifecycleEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lifecycleEvents(List.) - Parameters:
lifecycleEvents- a consumer that will call methods onLifecycleEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lifecycleEvents(java.util.Collection)
-
status
CloudFormationTarget.Builder status(String status)
The status of an CloudFormation blue/green deployment's target application.
- Parameters:
status- The status of an CloudFormation blue/green deployment's target application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStatus,TargetStatus
-
status
CloudFormationTarget.Builder status(TargetStatus status)
The status of an CloudFormation blue/green deployment's target application.
- Parameters:
status- The status of an CloudFormation blue/green deployment's target application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStatus,TargetStatus
-
resourceType
CloudFormationTarget.Builder resourceType(String resourceType)
The resource type for the CloudFormation blue/green deployment.
- Parameters:
resourceType- The resource type for the CloudFormation blue/green deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetVersionWeight
CloudFormationTarget.Builder targetVersionWeight(Double targetVersionWeight)
The percentage of production traffic that the target version of an CloudFormation blue/green deployment receives.
- Parameters:
targetVersionWeight- The percentage of production traffic that the target version of an CloudFormation blue/green deployment receives.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-