@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNetworkInsightsPathRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateNetworkInsightsPathRequest>
NOOP
Constructor and Description |
---|
CreateNetworkInsightsPathRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNetworkInsightsPathRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
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.
|
Request<CreateNetworkInsightsPathRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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<TagSpecification> |
getTagSpecifications()
The tags to add to the path.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
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 |
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 |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to add to the path.
|
String |
toString()
Returns a string representation of this object.
|
CreateNetworkInsightsPathRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateNetworkInsightsPathRequest |
withDestination(String destination)
The Amazon Web Services resource that is the destination of the path.
|
CreateNetworkInsightsPathRequest |
withDestinationIp(String destinationIp)
The IP address of the Amazon Web Services resource that is the destination of the path.
|
CreateNetworkInsightsPathRequest |
withDestinationPort(Integer destinationPort)
The destination port.
|
CreateNetworkInsightsPathRequest |
withProtocol(Protocol protocol)
The protocol.
|
CreateNetworkInsightsPathRequest |
withProtocol(String protocol)
The protocol.
|
CreateNetworkInsightsPathRequest |
withSource(String source)
The Amazon Web Services resource that is the source of the path.
|
CreateNetworkInsightsPathRequest |
withSourceIp(String sourceIp)
The IP address of the Amazon Web Services resource that is the source of the path.
|
CreateNetworkInsightsPathRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to add to the path.
|
CreateNetworkInsightsPathRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to add to the path.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateNetworkInsightsPathRequest 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 CreateNetworkInsightsPathRequest 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 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 CreateNetworkInsightsPathRequest 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 CreateNetworkInsightsPathRequest 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 setProtocol(String protocol)
The protocol.
protocol
- The protocol.Protocol
public CreateNetworkInsightsPathRequest withProtocol(String protocol)
The protocol.
protocol
- The protocol.Protocol
public CreateNetworkInsightsPathRequest 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 CreateNetworkInsightsPathRequest withDestinationPort(Integer destinationPort)
The destination port.
destinationPort
- The destination port.public List<TagSpecification> getTagSpecifications()
The tags to add to the path.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to add to the path.
tagSpecifications
- The tags to add to the path.public CreateNetworkInsightsPathRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to add to the path.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to add to the path.public CreateNetworkInsightsPathRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to add to the path.
tagSpecifications
- The tags to add to the path.public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to ensure
idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
public CreateNetworkInsightsPathRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to ensure
idempotency.public Request<CreateNetworkInsightsPathRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateNetworkInsightsPathRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateNetworkInsightsPathRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()