@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayMulticastDomainAssociations extends Object implements Serializable, Cloneable
Describes the multicast domain associations.
Constructor and Description |
---|
TransitGatewayMulticastDomainAssociations() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayMulticastDomainAssociations |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the resource.
|
String |
getResourceOwnerId()
The ID of the Amazon Web Services account that owns the resource.
|
String |
getResourceType()
The type of resource, for example a VPC attachment.
|
List<SubnetAssociation> |
getSubnets()
The subnets associated with the multicast domain.
|
String |
getTransitGatewayAttachmentId()
The ID of the transit gateway attachment.
|
String |
getTransitGatewayMulticastDomainId()
The ID of the transit gateway multicast domain.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceOwnerId(String resourceOwnerId)
The ID of the Amazon Web Services account that owns the resource.
|
void |
setResourceType(String resourceType)
The type of resource, for example a VPC attachment.
|
void |
setSubnets(Collection<SubnetAssociation> subnets)
The subnets associated with the multicast domain.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment.
|
void |
setTransitGatewayMulticastDomainId(String transitGatewayMulticastDomainId)
The ID of the transit gateway multicast domain.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayMulticastDomainAssociations |
withResourceId(String resourceId)
The ID of the resource.
|
TransitGatewayMulticastDomainAssociations |
withResourceOwnerId(String resourceOwnerId)
The ID of the Amazon Web Services account that owns the resource.
|
TransitGatewayMulticastDomainAssociations |
withResourceType(String resourceType)
The type of resource, for example a VPC attachment.
|
TransitGatewayMulticastDomainAssociations |
withResourceType(TransitGatewayAttachmentResourceType resourceType)
The type of resource, for example a VPC attachment.
|
TransitGatewayMulticastDomainAssociations |
withSubnets(Collection<SubnetAssociation> subnets)
The subnets associated with the multicast domain.
|
TransitGatewayMulticastDomainAssociations |
withSubnets(SubnetAssociation... subnets)
The subnets associated with the multicast domain.
|
TransitGatewayMulticastDomainAssociations |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment.
|
TransitGatewayMulticastDomainAssociations |
withTransitGatewayMulticastDomainId(String transitGatewayMulticastDomainId)
The ID of the transit gateway multicast domain.
|
public TransitGatewayMulticastDomainAssociations()
public void setTransitGatewayMulticastDomainId(String transitGatewayMulticastDomainId)
The ID of the transit gateway multicast domain.
transitGatewayMulticastDomainId
- The ID of the transit gateway multicast domain.public String getTransitGatewayMulticastDomainId()
The ID of the transit gateway multicast domain.
public TransitGatewayMulticastDomainAssociations withTransitGatewayMulticastDomainId(String transitGatewayMulticastDomainId)
The ID of the transit gateway multicast domain.
transitGatewayMulticastDomainId
- The ID of the transit gateway multicast domain.public void setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment.
transitGatewayAttachmentId
- The ID of the transit gateway attachment.public String getTransitGatewayAttachmentId()
The ID of the transit gateway attachment.
public TransitGatewayMulticastDomainAssociations withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment.
transitGatewayAttachmentId
- The ID of the transit gateway attachment.public void setResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String getResourceId()
The ID of the resource.
public TransitGatewayMulticastDomainAssociations withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public void setResourceType(String resourceType)
The type of resource, for example a VPC attachment.
resourceType
- The type of resource, for example a VPC attachment.TransitGatewayAttachmentResourceType
public String getResourceType()
The type of resource, for example a VPC attachment.
TransitGatewayAttachmentResourceType
public TransitGatewayMulticastDomainAssociations withResourceType(String resourceType)
The type of resource, for example a VPC attachment.
resourceType
- The type of resource, for example a VPC attachment.TransitGatewayAttachmentResourceType
public TransitGatewayMulticastDomainAssociations withResourceType(TransitGatewayAttachmentResourceType resourceType)
The type of resource, for example a VPC attachment.
resourceType
- The type of resource, for example a VPC attachment.TransitGatewayAttachmentResourceType
public void setResourceOwnerId(String resourceOwnerId)
The ID of the Amazon Web Services account that owns the resource.
resourceOwnerId
- The ID of the Amazon Web Services account that owns the resource.public String getResourceOwnerId()
The ID of the Amazon Web Services account that owns the resource.
public TransitGatewayMulticastDomainAssociations withResourceOwnerId(String resourceOwnerId)
The ID of the Amazon Web Services account that owns the resource.
resourceOwnerId
- The ID of the Amazon Web Services account that owns the resource.public List<SubnetAssociation> getSubnets()
The subnets associated with the multicast domain.
public void setSubnets(Collection<SubnetAssociation> subnets)
The subnets associated with the multicast domain.
subnets
- The subnets associated with the multicast domain.public TransitGatewayMulticastDomainAssociations withSubnets(SubnetAssociation... subnets)
The subnets associated with the multicast domain.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The subnets associated with the multicast domain.public TransitGatewayMulticastDomainAssociations withSubnets(Collection<SubnetAssociation> subnets)
The subnets associated with the multicast domain.
subnets
- The subnets associated with the multicast domain.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayMulticastDomainAssociations clone()