Interface SwapEnvironmentCnamEsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<SwapEnvironmentCnamEsRequest.Builder,SwapEnvironmentCnamEsRequest>, ElasticBeanstalkRequest.Builder, SdkBuilder<SwapEnvironmentCnamEsRequest.Builder,SwapEnvironmentCnamEsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
SwapEnvironmentCnamEsRequest

  • Method Details

    • sourceEnvironmentId

      SwapEnvironmentCnamEsRequest.Builder sourceEnvironmentId(String sourceEnvironmentId)

      The ID of the source environment.

      Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId.

      Parameters:
      sourceEnvironmentId - The ID of the source environment.

      Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceEnvironmentName

      SwapEnvironmentCnamEsRequest.Builder sourceEnvironmentName(String sourceEnvironmentName)

      The name of the source environment.

      Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName.

      Parameters:
      sourceEnvironmentName - The name of the source environment.

      Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationEnvironmentId

      SwapEnvironmentCnamEsRequest.Builder destinationEnvironmentId(String destinationEnvironmentId)

      The ID of the destination environment.

      Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId.

      Parameters:
      destinationEnvironmentId - The ID of the destination environment.

      Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationEnvironmentName

      SwapEnvironmentCnamEsRequest.Builder destinationEnvironmentName(String destinationEnvironmentName)

      The name of the destination environment.

      Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName.

      Parameters:
      destinationEnvironmentName - The name of the destination environment.

      Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      SwapEnvironmentCnamEsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.