@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInsightsPath extends Object implements Serializable, Cloneable
Describes a path.
Constructor and Description |
---|
NetworkInsightsPath() |
Modifier and Type | Method and Description |
---|---|
NetworkInsightsPath |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The time stamp when the path was created.
|
String |
getDestination()
The Amazon Web Services resource that is the destination of the path.
|
String |
getDestinationIp()
The IP address of the Amazon Web Services resource that is the destination of the path.
|
Integer |
getDestinationPort()
The destination port.
|
String |
getNetworkInsightsPathArn()
The Amazon Resource Name (ARN) of the path.
|
String |
getNetworkInsightsPathId()
The ID of the path.
|
String |
getProtocol()
The protocol.
|
String |
getSource()
The Amazon Web Services resource that is the source of the path.
|
String |
getSourceIp()
The IP address of the Amazon Web Services resource that is the source of the path.
|
List<Tag> |
getTags()
The tags associated with the path.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The time stamp when the path was created.
|
void |
setDestination(String destination)
The Amazon Web Services resource that is the destination of the path.
|
void |
setDestinationIp(String destinationIp)
The IP address of the Amazon Web Services resource that is the destination of the path.
|
void |
setDestinationPort(Integer destinationPort)
The destination port.
|
void |
setNetworkInsightsPathArn(String networkInsightsPathArn)
The Amazon Resource Name (ARN) of the path.
|
void |
setNetworkInsightsPathId(String networkInsightsPathId)
The ID of the path.
|
void |
setProtocol(String protocol)
The protocol.
|
void |
setSource(String source)
The Amazon Web Services resource that is the source of the path.
|
void |
setSourceIp(String sourceIp)
The IP address of the Amazon Web Services resource that is the source of the path.
|
void |
setTags(Collection<Tag> tags)
The tags associated with the path.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInsightsPath |
withCreatedDate(Date createdDate)
The time stamp when the path was created.
|
NetworkInsightsPath |
withDestination(String destination)
The Amazon Web Services resource that is the destination of the path.
|
NetworkInsightsPath |
withDestinationIp(String destinationIp)
The IP address of the Amazon Web Services resource that is the destination of the path.
|
NetworkInsightsPath |
withDestinationPort(Integer destinationPort)
The destination port.
|
NetworkInsightsPath |
withNetworkInsightsPathArn(String networkInsightsPathArn)
The Amazon Resource Name (ARN) of the path.
|
NetworkInsightsPath |
withNetworkInsightsPathId(String networkInsightsPathId)
The ID of the path.
|
NetworkInsightsPath |
withProtocol(Protocol protocol)
The protocol.
|
NetworkInsightsPath |
withProtocol(String protocol)
The protocol.
|
NetworkInsightsPath |
withSource(String source)
The Amazon Web Services resource that is the source of the path.
|
NetworkInsightsPath |
withSourceIp(String sourceIp)
The IP address of the Amazon Web Services resource that is the source of the path.
|
NetworkInsightsPath |
withTags(Collection<Tag> tags)
The tags associated with the path.
|
NetworkInsightsPath |
withTags(Tag... tags)
The tags associated with the path.
|
public void setNetworkInsightsPathId(String networkInsightsPathId)
The ID of the path.
networkInsightsPathId
- The ID of the path.public String getNetworkInsightsPathId()
The ID of the path.
public NetworkInsightsPath withNetworkInsightsPathId(String networkInsightsPathId)
The ID of the path.
networkInsightsPathId
- The ID of the path.public void setNetworkInsightsPathArn(String networkInsightsPathArn)
The Amazon Resource Name (ARN) of the path.
networkInsightsPathArn
- The Amazon Resource Name (ARN) of the path.public String getNetworkInsightsPathArn()
The Amazon Resource Name (ARN) of the path.
public NetworkInsightsPath withNetworkInsightsPathArn(String networkInsightsPathArn)
The Amazon Resource Name (ARN) of the path.
networkInsightsPathArn
- The Amazon Resource Name (ARN) of the path.public void setCreatedDate(Date createdDate)
The time stamp when the path was created.
createdDate
- The time stamp when the path was created.public Date getCreatedDate()
The time stamp when the path was created.
public NetworkInsightsPath withCreatedDate(Date createdDate)
The time stamp when the path was created.
createdDate
- The time stamp when the path was created.public void setSource(String source)
The Amazon Web Services resource that is the source of the path.
source
- The Amazon Web Services resource that is the source of the path.public String getSource()
The Amazon Web Services resource that is the source of the path.
public NetworkInsightsPath withSource(String source)
The Amazon Web Services resource that is the source of the path.
source
- The Amazon Web Services resource that is the source of the path.public void setDestination(String destination)
The Amazon Web Services resource that is the destination of the path.
destination
- The Amazon Web Services resource that is the destination of the path.public String getDestination()
The Amazon Web Services resource that is the destination of the path.
public NetworkInsightsPath withDestination(String destination)
The Amazon Web Services resource that is the destination of the path.
destination
- The Amazon Web Services resource that is the destination of the path.public void setSourceIp(String sourceIp)
The IP address of the Amazon Web Services resource that is the source of the path.
sourceIp
- The IP address of the Amazon Web Services resource that is the source of the path.public String getSourceIp()
The IP address of the Amazon Web Services resource that is the source of the path.
public NetworkInsightsPath withSourceIp(String sourceIp)
The IP address of the Amazon Web Services resource that is the source of the path.
sourceIp
- The IP address of the Amazon Web Services resource that is the source of the path.public void setDestinationIp(String destinationIp)
The IP address of the Amazon Web Services resource that is the destination of the path.
destinationIp
- The IP address of the Amazon Web Services resource that is the destination of the path.public String getDestinationIp()
The IP address of the Amazon Web Services resource that is the destination of the path.
public NetworkInsightsPath withDestinationIp(String destinationIp)
The IP address of the Amazon Web Services resource that is the destination of the path.
destinationIp
- The IP address of the Amazon Web Services resource that is the destination of the path.public void setProtocol(String protocol)
The protocol.
protocol
- The protocol.Protocol
public NetworkInsightsPath withProtocol(String protocol)
The protocol.
protocol
- The protocol.Protocol
public NetworkInsightsPath withProtocol(Protocol protocol)
The protocol.
protocol
- The protocol.Protocol
public void setDestinationPort(Integer destinationPort)
The destination port.
destinationPort
- The destination port.public Integer getDestinationPort()
The destination port.
public NetworkInsightsPath withDestinationPort(Integer destinationPort)
The destination port.
destinationPort
- The destination port.public List<Tag> getTags()
The tags associated with the path.
public void setTags(Collection<Tag> tags)
The tags associated with the path.
tags
- The tags associated with the path.public NetworkInsightsPath withTags(Tag... tags)
The tags associated with the path.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags associated with the path.public NetworkInsightsPath withTags(Collection<Tag> tags)
The tags associated with the path.
tags
- The tags associated with the path.public String toString()
toString
in class Object
Object.toString()
public NetworkInsightsPath clone()