@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstanceConnectEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateInstanceConnectEndpointRequest>
NOOP
Constructor and Description |
---|
CreateInstanceConnectEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInstanceConnectEndpointRequest |
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.
|
Request<CreateInstanceConnectEndpointRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Boolean |
getPreserveClientIp()
Indicates whether the client IP address is preserved as the source.
|
List<String> |
getSecurityGroupIds()
One or more security groups to associate with the endpoint.
|
String |
getSubnetId()
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
|
List<TagSpecification> |
getTagSpecifications()
The tags to apply to the EC2 Instance Connect Endpoint during creation.
|
int |
hashCode() |
Boolean |
isPreserveClientIp()
Indicates whether the client IP address is preserved as the source.
|
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setPreserveClientIp(Boolean preserveClientIp)
Indicates whether the client IP address is preserved as the source.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups to associate with the endpoint.
|
void |
setSubnetId(String subnetId)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
|
String |
toString()
Returns a string representation of this object.
|
CreateInstanceConnectEndpointRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateInstanceConnectEndpointRequest |
withPreserveClientIp(Boolean preserveClientIp)
Indicates whether the client IP address is preserved as the source.
|
CreateInstanceConnectEndpointRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups to associate with the endpoint.
|
CreateInstanceConnectEndpointRequest |
withSecurityGroupIds(String... securityGroupIds)
One or more security groups to associate with the endpoint.
|
CreateInstanceConnectEndpointRequest |
withSubnetId(String subnetId)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
|
CreateInstanceConnectEndpointRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
|
CreateInstanceConnectEndpointRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
|
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 CreateInstanceConnectEndpointRequest()
public void setSubnetId(String subnetId)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
subnetId
- The ID of the subnet in which to create the EC2 Instance Connect Endpoint.public String getSubnetId()
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
public CreateInstanceConnectEndpointRequest withSubnetId(String subnetId)
The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
subnetId
- The ID of the subnet in which to create the EC2 Instance Connect Endpoint.public List<String> getSecurityGroupIds()
One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
securityGroupIds
- One or more security groups to associate with the endpoint. If you don't specify a security group, the
default security group for your VPC will be associated with the endpoint.public CreateInstanceConnectEndpointRequest withSecurityGroupIds(String... securityGroupIds)
One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- One or more security groups to associate with the endpoint. If you don't specify a security group, the
default security group for your VPC will be associated with the endpoint.public CreateInstanceConnectEndpointRequest withSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.
securityGroupIds
- One or more security groups to associate with the endpoint. If you don't specify a security group, the
default security group for your VPC will be associated with the endpoint.public void setPreserveClientIp(Boolean preserveClientIp)
Indicates whether the client IP address is preserved as the source. The following are the possible values.
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
preserveClientIp
- Indicates whether the client IP address is preserved as the source. The following are the possible
values.
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
public Boolean getPreserveClientIp()
Indicates whether the client IP address is preserved as the source. The following are the possible values.
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
public CreateInstanceConnectEndpointRequest withPreserveClientIp(Boolean preserveClientIp)
Indicates whether the client IP address is preserved as the source. The following are the possible values.
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
preserveClientIp
- Indicates whether the client IP address is preserved as the source. The following are the possible
values.
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
public Boolean isPreserveClientIp()
Indicates whether the client IP address is preserved as the source. The following are the possible values.
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
true
- Use the client IP address as the source.
false
- Use the network interface IP address as the source.
Default: false
public void setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateInstanceConnectEndpointRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public List<TagSpecification> getTagSpecifications()
The tags to apply to the EC2 Instance Connect Endpoint during creation.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
tagSpecifications
- The tags to apply to the EC2 Instance Connect Endpoint during creation.public CreateInstanceConnectEndpointRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
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 apply to the EC2 Instance Connect Endpoint during creation.public CreateInstanceConnectEndpointRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the EC2 Instance Connect Endpoint during creation.
tagSpecifications
- The tags to apply to the EC2 Instance Connect Endpoint during creation.public Request<CreateInstanceConnectEndpointRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateInstanceConnectEndpointRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateInstanceConnectEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()