Interface SourceNetwork.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceNetwork.Builder,
,SourceNetwork> SdkBuilder<SourceNetwork.Builder,
,SourceNetwork> SdkPojo
- Enclosing class:
SourceNetwork
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the Source Network.cfnStackName
(String cfnStackName) CloudFormation stack name that was deployed for recovering the Source Network.default SourceNetwork.Builder
lastRecovery
(Consumer<RecoveryLifeCycle.Builder> lastRecovery) An object containing information regarding the last recovery of the Source Network.lastRecovery
(RecoveryLifeCycle lastRecovery) An object containing information regarding the last recovery of the Source Network.launchedVpcID
(String launchedVpcID) ID of the recovered VPC following Source Network recovery.replicationStatus
(String replicationStatus) Status of Source Network Replication.replicationStatus
(ReplicationStatus replicationStatus) Status of Source Network Replication.replicationStatusDetails
(String replicationStatusDetails) Error details in case Source Network replication status is ERROR.sourceAccountID
(String sourceAccountID) Account ID containing the VPC protected by the Source Network.sourceNetworkID
(String sourceNetworkID) Source Network ID.sourceRegion
(String sourceRegion) Region containing the VPC protected by the Source Network.sourceVpcID
(String sourceVpcID) VPC ID protected by the Source Network.A list of tags associated with the Source Network.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 Details
-
arn
The ARN of the Source Network.
- Parameters:
arn
- The ARN of the Source Network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cfnStackName
CloudFormation stack name that was deployed for recovering the Source Network.
- Parameters:
cfnStackName
- CloudFormation stack name that was deployed for recovering the Source Network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRecovery
An object containing information regarding the last recovery of the Source Network.
- Parameters:
lastRecovery
- An object containing information regarding the last recovery of the Source Network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRecovery
An object containing information regarding the last recovery of the Source Network.
This is a convenience method that creates an instance of theRecoveryLifeCycle.Builder
avoiding the need to create one manually viaRecoveryLifeCycle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastRecovery(RecoveryLifeCycle)
.- Parameters:
lastRecovery
- a consumer that will call methods onRecoveryLifeCycle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchedVpcID
ID of the recovered VPC following Source Network recovery.
- Parameters:
launchedVpcID
- ID of the recovered VPC following Source Network recovery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationStatus
Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed
- Parameters:
replicationStatus
- Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationStatus
Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed
- Parameters:
replicationStatus
- Status of Source Network Replication. Possible values: (a) STOPPED - Source Network is not replicating. (b) IN_PROGRESS - Source Network is being replicated. (c) PROTECTED - Source Network was replicated successfully and is being synchronized for changes. (d) ERROR - Source Network replication has failed- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationStatusDetails
Error details in case Source Network replication status is ERROR.
- Parameters:
replicationStatusDetails
- Error details in case Source Network replication status is ERROR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAccountID
Account ID containing the VPC protected by the Source Network.
- Parameters:
sourceAccountID
- Account ID containing the VPC protected by the Source Network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworkID
Source Network ID.
- Parameters:
sourceNetworkID
- Source Network ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRegion
Region containing the VPC protected by the Source Network.
- Parameters:
sourceRegion
- Region containing the VPC protected by the Source Network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceVpcID
VPC ID protected by the Source Network.
- Parameters:
sourceVpcID
- VPC ID protected by the Source Network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags associated with the Source Network.
- Parameters:
tags
- A list of tags associated with the Source Network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-