com.amazonaws.services.ec2.model

## クラス ReplaceRouteTableAssociationRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.ec2.model.ReplaceRouteTableAssociationRequest

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

      public class ReplaceRouteTableAssociationRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `ReplaceRouteTableAssociation operation`.

  Changes the route table associated with a given subnet in a VPC. After you execute this action, the subnet uses the routes in the new route table it's associated with. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

  You can also use this to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table that you want to be the new main route table.

  関連項目:
    `AmazonEC2.replaceRouteTableAssociation(ReplaceRouteTableAssociationRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getAssociationId()` The ID representing the current association between the original route table and the subnet.
    `java.lang.String` | `getRouteTableId()` The ID of the new route table to associate with the subnet.
    `int` | `hashCode()`
    `void` | `setAssociationId(java.lang.String associationId)` The ID representing the current association between the original route table and the subnet.
    `void` | `setRouteTableId(java.lang.String routeTableId)` The ID of the new route table to associate with the subnet.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ReplaceRouteTableAssociationRequest` | `withAssociationId(java.lang.String associationId)` The ID representing the current association between the original route table and the subnet.
    `ReplaceRouteTableAssociationRequest` | `withRouteTableId(java.lang.String routeTableId)` The ID of the new route table to associate with the subnet.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### ReplaceRouteTableAssociationRequest

          public ReplaceRouteTableAssociationRequest()

  - ### メソッドの詳細

    - #### getAssociationId

          public java.lang.String getAssociationId()

      The ID representing the current association between the original route table and the subnet.
      戻り値:
        The ID representing the current association between the original route table and the subnet.

    - #### setAssociationId

          public void setAssociationId(java.lang.String associationId)

      The ID representing the current association between the original route table and the subnet.
      パラメータ:
        `associationId` - The ID representing the current association between the original route table and the subnet.

    - #### withAssociationId

          public ReplaceRouteTableAssociationRequest withAssociationId(java.lang.String associationId)

      The ID representing the current association between the original route table and the subnet.

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

      パラメータ:
        `associationId` - The ID representing the current association between the original route table and the subnet.

    - #### getRouteTableId

          public java.lang.String getRouteTableId()

      The ID of the new route table to associate with the subnet.
      戻り値:
        The ID of the new route table to associate with the subnet.

    - #### setRouteTableId

          public void setRouteTableId(java.lang.String routeTableId)

      The ID of the new route table to associate with the subnet.
      パラメータ:
        `routeTableId` - The ID of the new route table to associate with the subnet.

    - #### withRouteTableId

          public ReplaceRouteTableAssociationRequest withRouteTableId(java.lang.String routeTableId)

      The ID of the new route table to associate with the subnet.

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

      パラメータ:
        `routeTableId` - The ID of the new route table to associate with the subnet.

    - #### 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`