Interface NetworkMigrationDeployedStackDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkMigrationDeployedStackDetails.Builder,,NetworkMigrationDeployedStackDetails> SdkBuilder<NetworkMigrationDeployedStackDetails.Builder,,NetworkMigrationDeployedStackDetails> SdkPojo
- Enclosing class:
NetworkMigrationDeployedStackDetails
@Mutable
@NotThreadSafe
public static interface NetworkMigrationDeployedStackDetails.Builder
extends SdkPojo, CopyableBuilder<NetworkMigrationDeployedStackDetails.Builder,NetworkMigrationDeployedStackDetails>
-
Method Summary
Modifier and TypeMethodDescriptionfailedResources(Collection<NetworkMigrationFailedResourceDetails> failedResources) A list of resources that failed to deploy.failedResources(Consumer<NetworkMigrationFailedResourceDetails.Builder>... failedResources) A list of resources that failed to deploy.failedResources(NetworkMigrationFailedResourceDetails... failedResources) A list of resources that failed to deploy.The ID of the segment that this stack was deployed for.stackLogicalID(String stackLogicalID) The logical ID of the stack.stackPhysicalID(String stackPhysicalID) The physical ID of the CloudFormation stack.The current status of the deployed stack.The current status of the deployed stack.targetAccount(String targetAccount) The target AWS account where the stack was 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
-
status
The current status of the deployed stack.
- Parameters:
status- The current status of the deployed stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the deployed stack.
- Parameters:
status- The current status of the deployed stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stackPhysicalID
The physical ID of the CloudFormation stack.
- Parameters:
stackPhysicalID- The physical ID of the CloudFormation stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackLogicalID
The logical ID of the stack.
- Parameters:
stackLogicalID- The logical ID of the stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentID
The ID of the segment that this stack was deployed for.
- Parameters:
segmentID- The ID of the segment that this stack was deployed for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetAccount
The target AWS account where the stack was deployed.
- Parameters:
targetAccount- The target AWS account where the stack was deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedResources
NetworkMigrationDeployedStackDetails.Builder failedResources(Collection<NetworkMigrationFailedResourceDetails> failedResources) A list of resources that failed to deploy.
- Parameters:
failedResources- A list of resources that failed to deploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedResources
NetworkMigrationDeployedStackDetails.Builder failedResources(NetworkMigrationFailedResourceDetails... failedResources) A list of resources that failed to deploy.
- Parameters:
failedResources- A list of resources that failed to deploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedResources
NetworkMigrationDeployedStackDetails.Builder failedResources(Consumer<NetworkMigrationFailedResourceDetails.Builder>... failedResources) A list of resources that failed to deploy.
This is a convenience method that creates an instance of theNetworkMigrationFailedResourceDetails.Builderavoiding the need to create one manually viaNetworkMigrationFailedResourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedResources(List<NetworkMigrationFailedResourceDetails>).- Parameters:
failedResources- a consumer that will call methods onNetworkMigrationFailedResourceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-