@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationSetDetails extends Object implements Serializable, Cloneable, StructuredPojo
The associations between a route table and one or more subnets or a gateway.
Constructor and Description |
---|
AssociationSetDetails() |
Modifier and Type | Method and Description |
---|---|
AssociationSetDetails |
clone() |
boolean |
equals(Object obj) |
AssociationStateDetails |
getAssociationState()
The state of the association between a route table and a subnet or gateway.
|
String |
getGatewayId()
The ID of the internet gateway or virtual private gateway.
|
Boolean |
getMain()
Indicates whether this is the main route table.
|
String |
getRouteTableAssociationId()
The ID of the association.
|
String |
getRouteTableId()
The ID of the route table.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
Boolean |
isMain()
Indicates whether this is the main route table.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationState(AssociationStateDetails associationState)
The state of the association between a route table and a subnet or gateway.
|
void |
setGatewayId(String gatewayId)
The ID of the internet gateway or virtual private gateway.
|
void |
setMain(Boolean main)
Indicates whether this is the main route table.
|
void |
setRouteTableAssociationId(String routeTableAssociationId)
The ID of the association.
|
void |
setRouteTableId(String routeTableId)
The ID of the route table.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
AssociationSetDetails |
withAssociationState(AssociationStateDetails associationState)
The state of the association between a route table and a subnet or gateway.
|
AssociationSetDetails |
withGatewayId(String gatewayId)
The ID of the internet gateway or virtual private gateway.
|
AssociationSetDetails |
withMain(Boolean main)
Indicates whether this is the main route table.
|
AssociationSetDetails |
withRouteTableAssociationId(String routeTableAssociationId)
The ID of the association.
|
AssociationSetDetails |
withRouteTableId(String routeTableId)
The ID of the route table.
|
AssociationSetDetails |
withSubnetId(String subnetId)
The ID of the subnet.
|
public void setAssociationState(AssociationStateDetails associationState)
The state of the association between a route table and a subnet or gateway.
associationState
- The state of the association between a route table and a subnet or gateway.public AssociationStateDetails getAssociationState()
The state of the association between a route table and a subnet or gateway.
public AssociationSetDetails withAssociationState(AssociationStateDetails associationState)
The state of the association between a route table and a subnet or gateway.
associationState
- The state of the association between a route table and a subnet or gateway.public void setGatewayId(String gatewayId)
The ID of the internet gateway or virtual private gateway.
gatewayId
- The ID of the internet gateway or virtual private gateway.public String getGatewayId()
The ID of the internet gateway or virtual private gateway.
public AssociationSetDetails withGatewayId(String gatewayId)
The ID of the internet gateway or virtual private gateway.
gatewayId
- The ID of the internet gateway or virtual private gateway.public void setMain(Boolean main)
Indicates whether this is the main route table.
main
- Indicates whether this is the main route table.public Boolean getMain()
Indicates whether this is the main route table.
public AssociationSetDetails withMain(Boolean main)
Indicates whether this is the main route table.
main
- Indicates whether this is the main route table.public Boolean isMain()
Indicates whether this is the main route table.
public void setRouteTableAssociationId(String routeTableAssociationId)
The ID of the association.
routeTableAssociationId
- The ID of the association.public String getRouteTableAssociationId()
The ID of the association.
public AssociationSetDetails withRouteTableAssociationId(String routeTableAssociationId)
The ID of the association.
routeTableAssociationId
- The ID of the association.public void setRouteTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public String getRouteTableId()
The ID of the route table.
public AssociationSetDetails withRouteTableId(String routeTableId)
The ID of the route table.
routeTableId
- The ID of the route table.public void setSubnetId(String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit association.public String getSubnetId()
The ID of the subnet. A subnet ID is not returned for an implicit association.
public AssociationSetDetails withSubnetId(String subnetId)
The ID of the subnet. A subnet ID is not returned for an implicit association.
subnetId
- The ID of the subnet. A subnet ID is not returned for an implicit association.public String toString()
toString
in class Object
Object.toString()
public AssociationSetDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.