Class SwapEnvironmentCNAMEsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticbeanstalk.model.SwapEnvironmentCNAMEsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class SwapEnvironmentCNAMEsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Swaps the CNAMEs of two environments.

See Also:
  • Constructor Details

    • SwapEnvironmentCNAMEsRequest

      public SwapEnvironmentCNAMEsRequest()
  • Method Details

    • setSourceEnvironmentId

      public void setSourceEnvironmentId(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.

    • getSourceEnvironmentId

      public String getSourceEnvironmentId()

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

    • withSourceEnvironmentId

      public SwapEnvironmentCNAMEsRequest withSourceEnvironmentId(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.
    • setSourceEnvironmentName

      public void setSourceEnvironmentName(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.

    • getSourceEnvironmentName

      public String getSourceEnvironmentName()

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

    • withSourceEnvironmentName

      public SwapEnvironmentCNAMEsRequest withSourceEnvironmentName(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.
    • setDestinationEnvironmentId

      public void setDestinationEnvironmentId(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.

    • getDestinationEnvironmentId

      public String getDestinationEnvironmentId()

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

    • withDestinationEnvironmentId

      public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentId(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.
    • setDestinationEnvironmentName

      public void setDestinationEnvironmentName(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.

    • getDestinationEnvironmentName

      public String getDestinationEnvironmentName()

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

    • withDestinationEnvironmentName

      public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentName(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.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: