@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkRouteDestination extends Object implements Serializable, Cloneable, StructuredPojo
Describes the destination of a network route.
| Constructor and Description |
|---|
NetworkRouteDestination() |
| Modifier and Type | Method and Description |
|---|---|
NetworkRouteDestination |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID of the resource.
|
String |
getResourceType()
The resource type.
|
String |
getTransitGatewayAttachmentId()
The ID of the transit gateway attachment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment.
|
String |
toString()
Returns a string representation of this object.
|
NetworkRouteDestination |
withResourceId(String resourceId)
The ID of the resource.
|
NetworkRouteDestination |
withResourceType(String resourceType)
The resource type.
|
NetworkRouteDestination |
withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment.
|
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 NetworkRouteDestination withTransitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway attachment.
transitGatewayAttachmentId - The ID of the transit gateway attachment.public void setResourceType(String resourceType)
The resource type.
resourceType - The resource type.public String getResourceType()
The resource type.
public NetworkRouteDestination withResourceType(String resourceType)
The resource type.
resourceType - The resource type.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 NetworkRouteDestination withResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public String toString()
toString in class ObjectObject.toString()public NetworkRouteDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.