Interface SourceNetwork.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SourceNetwork.Builder,SourceNetwork>,SdkBuilder<SourceNetwork.Builder,SourceNetwork>,SdkPojo
- Enclosing class:
- SourceNetwork
public static interface SourceNetwork.Builder extends SdkPojo, CopyableBuilder<SourceNetwork.Builder,SourceNetwork>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SourceNetwork.Builderarn(String arn)The ARN of the Source Network.SourceNetwork.BuildercfnStackName(String cfnStackName)CloudFormation stack name that was deployed for recovering the Source Network.default SourceNetwork.BuilderlastRecovery(Consumer<RecoveryLifeCycle.Builder> lastRecovery)An object containing information regarding the last recovery of the Source Network.SourceNetwork.BuilderlastRecovery(RecoveryLifeCycle lastRecovery)An object containing information regarding the last recovery of the Source Network.SourceNetwork.BuilderlaunchedVpcID(String launchedVpcID)ID of the recovered VPC following Source Network recovery.SourceNetwork.BuilderreplicationStatus(String replicationStatus)Status of Source Network Replication.SourceNetwork.BuilderreplicationStatus(ReplicationStatus replicationStatus)Status of Source Network Replication.SourceNetwork.BuilderreplicationStatusDetails(String replicationStatusDetails)Error details in case Source Network replication status is ERROR.SourceNetwork.BuildersourceAccountID(String sourceAccountID)Account ID containing the VPC protected by the Source Network.SourceNetwork.BuildersourceNetworkID(String sourceNetworkID)Source Network ID.SourceNetwork.BuildersourceRegion(String sourceRegion)Region containing the VPC protected by the Source Network.SourceNetwork.BuildersourceVpcID(String sourceVpcID)VPC ID protected by the Source Network.SourceNetwork.Buildertags(Map<String,String> tags)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, sdkFields
-
-
-
-
Method Detail
-
arn
SourceNetwork.Builder arn(String 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
SourceNetwork.Builder cfnStackName(String 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
SourceNetwork.Builder lastRecovery(RecoveryLifeCycle 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
default SourceNetwork.Builder lastRecovery(Consumer<RecoveryLifeCycle.Builder> lastRecovery)
An object containing information regarding the last recovery of the Source Network.
This is a convenience method that creates an instance of theRecoveryLifeCycle.Builderavoiding the need to create one manually viaRecoveryLifeCycle.builder().When the
Consumercompletes,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:
lastRecovery(RecoveryLifeCycle)
-
launchedVpcID
SourceNetwork.Builder launchedVpcID(String 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
SourceNetwork.Builder replicationStatus(String 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,ReplicationStatus
-
replicationStatus
SourceNetwork.Builder replicationStatus(ReplicationStatus 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,ReplicationStatus
-
replicationStatusDetails
SourceNetwork.Builder replicationStatusDetails(String 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
SourceNetwork.Builder sourceAccountID(String 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
SourceNetwork.Builder sourceNetworkID(String 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
SourceNetwork.Builder sourceRegion(String 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
SourceNetwork.Builder sourceVpcID(String 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
SourceNetwork.Builder tags(Map<String,String> 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.
-
-