@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayPrefixListReference extends Object implements Serializable, Cloneable
Describes a prefix list reference.
Constructor and Description |
---|
TransitGatewayPrefixListReference() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayPrefixListReference |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBlackhole()
Indicates whether traffic that matches this route is dropped.
|
String |
getPrefixListId()
The ID of the prefix list.
|
String |
getPrefixListOwnerId()
The ID of the prefix list owner.
|
String |
getState()
The state of the prefix list reference.
|
TransitGatewayPrefixListAttachment |
getTransitGatewayAttachment()
Information about the transit gateway attachment.
|
String |
getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
|
int |
hashCode() |
Boolean |
isBlackhole()
Indicates whether traffic that matches this route is dropped.
|
void |
setBlackhole(Boolean blackhole)
Indicates whether traffic that matches this route is dropped.
|
void |
setPrefixListId(String prefixListId)
The ID of the prefix list.
|
void |
setPrefixListOwnerId(String prefixListOwnerId)
The ID of the prefix list owner.
|
void |
setState(String state)
The state of the prefix list reference.
|
void |
setTransitGatewayAttachment(TransitGatewayPrefixListAttachment transitGatewayAttachment)
Information about the transit gateway attachment.
|
void |
setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayPrefixListReference |
withBlackhole(Boolean blackhole)
Indicates whether traffic that matches this route is dropped.
|
TransitGatewayPrefixListReference |
withPrefixListId(String prefixListId)
The ID of the prefix list.
|
TransitGatewayPrefixListReference |
withPrefixListOwnerId(String prefixListOwnerId)
The ID of the prefix list owner.
|
TransitGatewayPrefixListReference |
withState(String state)
The state of the prefix list reference.
|
TransitGatewayPrefixListReference |
withState(TransitGatewayPrefixListReferenceState state)
The state of the prefix list reference.
|
TransitGatewayPrefixListReference |
withTransitGatewayAttachment(TransitGatewayPrefixListAttachment transitGatewayAttachment)
Information about the transit gateway attachment.
|
TransitGatewayPrefixListReference |
withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
|
public void setTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId
- The ID of the transit gateway route table.public String getTransitGatewayRouteTableId()
The ID of the transit gateway route table.
public TransitGatewayPrefixListReference withTransitGatewayRouteTableId(String transitGatewayRouteTableId)
The ID of the transit gateway route table.
transitGatewayRouteTableId
- The ID of the transit gateway route table.public void setPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.public String getPrefixListId()
The ID of the prefix list.
public TransitGatewayPrefixListReference withPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.public void setPrefixListOwnerId(String prefixListOwnerId)
The ID of the prefix list owner.
prefixListOwnerId
- The ID of the prefix list owner.public String getPrefixListOwnerId()
The ID of the prefix list owner.
public TransitGatewayPrefixListReference withPrefixListOwnerId(String prefixListOwnerId)
The ID of the prefix list owner.
prefixListOwnerId
- The ID of the prefix list owner.public void setState(String state)
The state of the prefix list reference.
state
- The state of the prefix list reference.TransitGatewayPrefixListReferenceState
public String getState()
The state of the prefix list reference.
TransitGatewayPrefixListReferenceState
public TransitGatewayPrefixListReference withState(String state)
The state of the prefix list reference.
state
- The state of the prefix list reference.TransitGatewayPrefixListReferenceState
public TransitGatewayPrefixListReference withState(TransitGatewayPrefixListReferenceState state)
The state of the prefix list reference.
state
- The state of the prefix list reference.TransitGatewayPrefixListReferenceState
public void setBlackhole(Boolean blackhole)
Indicates whether traffic that matches this route is dropped.
blackhole
- Indicates whether traffic that matches this route is dropped.public Boolean getBlackhole()
Indicates whether traffic that matches this route is dropped.
public TransitGatewayPrefixListReference withBlackhole(Boolean blackhole)
Indicates whether traffic that matches this route is dropped.
blackhole
- Indicates whether traffic that matches this route is dropped.public Boolean isBlackhole()
Indicates whether traffic that matches this route is dropped.
public void setTransitGatewayAttachment(TransitGatewayPrefixListAttachment transitGatewayAttachment)
Information about the transit gateway attachment.
transitGatewayAttachment
- Information about the transit gateway attachment.public TransitGatewayPrefixListAttachment getTransitGatewayAttachment()
Information about the transit gateway attachment.
public TransitGatewayPrefixListReference withTransitGatewayAttachment(TransitGatewayPrefixListAttachment transitGatewayAttachment)
Information about the transit gateway attachment.
transitGatewayAttachment
- Information about the transit gateway attachment.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayPrefixListReference clone()