Interface SourceNetwork.Builder

  • 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

      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 the RecoveryLifeCycle.Builder avoiding the need to create one manually via RecoveryLifeCycle.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lastRecovery(RecoveryLifeCycle).

      Parameters:
      lastRecovery - a consumer that will call methods on RecoveryLifeCycle.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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

      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.