com.amazonaws.services.elasticbeanstalk.model

## クラス SwapEnvironmentCNAMEsRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.elasticbeanstalk.model.SwapEnvironmentCNAMEsRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class SwapEnvironmentCNAMEsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `SwapEnvironmentCNAMEs operation`.

  Swaps the CNAMEs of two environments.

  関連項目:
    `AWSElasticBeanstalk.swapEnvironmentCNAMEs(SwapEnvironmentCNAMEsRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `SwapEnvironmentCNAMEsRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDestinationEnvironmentId()` The ID of the destination environment.
    `java.lang.String` | `getDestinationEnvironmentName()` The name of the destination environment.
    `java.lang.String` | `getSourceEnvironmentId()` The ID of the source environment.
    `java.lang.String` | `getSourceEnvironmentName()` The name of the source environment.
    `int` | `hashCode()`
    `void` | `setDestinationEnvironmentId(java.lang.String destinationEnvironmentId)` The ID of the destination environment.
    `void` | `setDestinationEnvironmentName(java.lang.String destinationEnvironmentName)` The name of the destination environment.
    `void` | `setSourceEnvironmentId(java.lang.String sourceEnvironmentId)` The ID of the source environment.
    `void` | `setSourceEnvironmentName(java.lang.String sourceEnvironmentName)` The name of the source environment.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `SwapEnvironmentCNAMEsRequest` | `withDestinationEnvironmentId(java.lang.String destinationEnvironmentId)` The ID of the destination environment.
    `SwapEnvironmentCNAMEsRequest` | `withDestinationEnvironmentName(java.lang.String destinationEnvironmentName)` The name of the destination environment.
    `SwapEnvironmentCNAMEsRequest` | `withSourceEnvironmentId(java.lang.String sourceEnvironmentId)` The ID of the source environment.
    `SwapEnvironmentCNAMEsRequest` | `withSourceEnvironmentName(java.lang.String sourceEnvironmentName)` The name of the source environment.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### SwapEnvironmentCNAMEsRequest

          public SwapEnvironmentCNAMEsRequest()

  - ### メソッドの詳細

    - #### getSourceEnvironmentId

          public java.lang.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`.

      戻り値:
        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`.

    - #### setSourceEnvironmentId

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

      パラメータ:
        `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`.

    - #### withSourceEnvironmentId

          public SwapEnvironmentCNAMEsRequest withSourceEnvironmentId(java.lang.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`.

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

      パラメータ:
        `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`.

    - #### getSourceEnvironmentName

          public java.lang.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`.

      Constraints:
      Length: 4 - 23

      戻り値:
        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`.

    - #### setSourceEnvironmentName

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

      Constraints:
      Length: 4 - 23

      パラメータ:
        `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`.

    - #### withSourceEnvironmentName

          public SwapEnvironmentCNAMEsRequest withSourceEnvironmentName(java.lang.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`.

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

      Constraints:
      Length: 4 - 23

      パラメータ:
        `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`.

    - #### getDestinationEnvironmentId

          public java.lang.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`.

      戻り値:
        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`.

    - #### setDestinationEnvironmentId

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

      パラメータ:
        `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`.

    - #### withDestinationEnvironmentId

          public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentId(java.lang.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`.

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

      パラメータ:
        `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`.

    - #### getDestinationEnvironmentName

          public java.lang.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`.

      Constraints:
      Length: 4 - 23

      戻り値:
        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`.

    - #### setDestinationEnvironmentName

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

      Constraints:
      Length: 4 - 23

      パラメータ:
        `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`.

    - #### withDestinationEnvironmentName

          public SwapEnvironmentCNAMEsRequest withDestinationEnvironmentName(java.lang.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`.

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

      Constraints:
      Length: 4 - 23

      パラメータ:
        `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`.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`