@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PathComponent extends Object implements Serializable, Cloneable, StructuredPojo
Describes a path component.
Constructor and Description |
---|
PathComponent() |
Modifier and Type | Method and Description |
---|---|
PathComponent |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The destination CIDR block in the route table.
|
NetworkResourceSummary |
getResource()
The resource.
|
Integer |
getSequence()
The sequence number in the path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block in the route table.
|
void |
setResource(NetworkResourceSummary resource)
The resource.
|
void |
setSequence(Integer sequence)
The sequence number in the path.
|
String |
toString()
Returns a string representation of this object.
|
PathComponent |
withDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block in the route table.
|
PathComponent |
withResource(NetworkResourceSummary resource)
The resource.
|
PathComponent |
withSequence(Integer sequence)
The sequence number in the path.
|
public void setSequence(Integer sequence)
The sequence number in the path. The destination is 0.
sequence
- The sequence number in the path. The destination is 0.public Integer getSequence()
The sequence number in the path. The destination is 0.
public PathComponent withSequence(Integer sequence)
The sequence number in the path. The destination is 0.
sequence
- The sequence number in the path. The destination is 0.public void setResource(NetworkResourceSummary resource)
The resource.
resource
- The resource.public NetworkResourceSummary getResource()
The resource.
public PathComponent withResource(NetworkResourceSummary resource)
The resource.
resource
- The resource.public void setDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block in the route table.
destinationCidrBlock
- The destination CIDR block in the route table.public String getDestinationCidrBlock()
The destination CIDR block in the route table.
public PathComponent withDestinationCidrBlock(String destinationCidrBlock)
The destination CIDR block in the route table.
destinationCidrBlock
- The destination CIDR block in the route table.public String toString()
toString
in class Object
Object.toString()
public PathComponent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.