@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubnetAssociation extends Object implements Serializable, Cloneable
Describes the subnet association with the transit gateway multicast domain.
Constructor and Description |
---|
SubnetAssociation() |
Modifier and Type | Method and Description |
---|---|
SubnetAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of the subnet association.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
void |
setState(String state)
The state of the subnet association.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
SubnetAssociation |
withState(String state)
The state of the subnet association.
|
SubnetAssociation |
withState(TransitGatewayMulitcastDomainAssociationState state)
The state of the subnet association.
|
SubnetAssociation |
withSubnetId(String subnetId)
The ID of the subnet.
|
public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public SubnetAssociation withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setState(String state)
The state of the subnet association.
state
- The state of the subnet association.TransitGatewayMulitcastDomainAssociationState
public String getState()
The state of the subnet association.
TransitGatewayMulitcastDomainAssociationState
public SubnetAssociation withState(String state)
The state of the subnet association.
state
- The state of the subnet association.TransitGatewayMulitcastDomainAssociationState
public SubnetAssociation withState(TransitGatewayMulitcastDomainAssociationState state)
The state of the subnet association.
state
- The state of the subnet association.TransitGatewayMulitcastDomainAssociationState
public String toString()
toString
in class Object
Object.toString()
public SubnetAssociation clone()