@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrafficMirrorTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateTrafficMirrorTargetRequest>
NOOP
Constructor and Description |
---|
CreateTrafficMirrorTargetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrafficMirrorTargetRequest |
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 |
getDescription()
The description of the Traffic Mirror target.
|
Request<CreateTrafficMirrorTargetRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getGatewayLoadBalancerEndpointId()
The ID of the Gateway Load Balancer endpoint.
|
String |
getNetworkInterfaceId()
The network interface ID that is associated with the target.
|
String |
getNetworkLoadBalancerArn()
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
|
List<TagSpecification> |
getTagSpecifications()
The tags to assign to the Traffic Mirror target.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description of the Traffic Mirror target.
|
void |
setGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is associated with the target.
|
void |
setNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Traffic Mirror target.
|
String |
toString()
Returns a string representation of this object.
|
CreateTrafficMirrorTargetRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateTrafficMirrorTargetRequest |
withDescription(String description)
The description of the Traffic Mirror target.
|
CreateTrafficMirrorTargetRequest |
withGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
|
CreateTrafficMirrorTargetRequest |
withNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is associated with the target.
|
CreateTrafficMirrorTargetRequest |
withNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
|
CreateTrafficMirrorTargetRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Traffic Mirror target.
|
CreateTrafficMirrorTargetRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the Traffic Mirror target.
|
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 setNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is associated with the target.
networkInterfaceId
- The network interface ID that is associated with the target.public String getNetworkInterfaceId()
The network interface ID that is associated with the target.
public CreateTrafficMirrorTargetRequest withNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is associated with the target.
networkInterfaceId
- The network interface ID that is associated with the target.public void setNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.public String getNetworkLoadBalancerArn()
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
public CreateTrafficMirrorTargetRequest withNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.
networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.public void setDescription(String description)
The description of the Traffic Mirror target.
description
- The description of the Traffic Mirror target.public String getDescription()
The description of the Traffic Mirror target.
public CreateTrafficMirrorTargetRequest withDescription(String description)
The description of the Traffic Mirror target.
description
- The description of the Traffic Mirror target.public List<TagSpecification> getTagSpecifications()
The tags to assign to the Traffic Mirror target.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Traffic Mirror target.
tagSpecifications
- The tags to assign to the Traffic Mirror target.public CreateTrafficMirrorTargetRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the Traffic Mirror target.
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 assign to the Traffic Mirror target.public CreateTrafficMirrorTargetRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Traffic Mirror target.
tagSpecifications
- The tags to assign to the Traffic Mirror target.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 CreateTrafficMirrorTargetRequest 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 void setGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
gatewayLoadBalancerEndpointId
- The ID of the Gateway Load Balancer endpoint.public String getGatewayLoadBalancerEndpointId()
The ID of the Gateway Load Balancer endpoint.
public CreateTrafficMirrorTargetRequest withGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
gatewayLoadBalancerEndpointId
- The ID of the Gateway Load Balancer endpoint.public Request<CreateTrafficMirrorTargetRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateTrafficMirrorTargetRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateTrafficMirrorTargetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()