@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcEndpointConnectionNotificationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcEndpointConnectionNotificationRequest>
NOOP
Constructor and Description |
---|
CreateVpcEndpointConnectionNotificationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpcEndpointConnectionNotificationRequest |
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.
|
List<String> |
getConnectionEvents()
The endpoint events for which to receive notifications.
|
String |
getConnectionNotificationArn()
The ARN of the SNS topic for the notifications.
|
Request<CreateVpcEndpointConnectionNotificationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getServiceId()
The ID of the endpoint service.
|
String |
getVpcEndpointId()
The ID of the endpoint.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setConnectionEvents(Collection<String> connectionEvents)
The endpoint events for which to receive notifications.
|
void |
setConnectionNotificationArn(String connectionNotificationArn)
The ARN of the SNS topic for the notifications.
|
void |
setServiceId(String serviceId)
The ID of the endpoint service.
|
void |
setVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
CreateVpcEndpointConnectionNotificationRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateVpcEndpointConnectionNotificationRequest |
withConnectionEvents(Collection<String> connectionEvents)
The endpoint events for which to receive notifications.
|
CreateVpcEndpointConnectionNotificationRequest |
withConnectionEvents(String... connectionEvents)
The endpoint events for which to receive notifications.
|
CreateVpcEndpointConnectionNotificationRequest |
withConnectionNotificationArn(String connectionNotificationArn)
The ARN of the SNS topic for the notifications.
|
CreateVpcEndpointConnectionNotificationRequest |
withServiceId(String serviceId)
The ID of the endpoint service.
|
CreateVpcEndpointConnectionNotificationRequest |
withVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
|
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 CreateVpcEndpointConnectionNotificationRequest()
public void setServiceId(String serviceId)
The ID of the endpoint service.
serviceId
- The ID of the endpoint service.public String getServiceId()
The ID of the endpoint service.
public CreateVpcEndpointConnectionNotificationRequest withServiceId(String serviceId)
The ID of the endpoint service.
serviceId
- The ID of the endpoint service.public void setVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the endpoint.public String getVpcEndpointId()
The ID of the endpoint.
public CreateVpcEndpointConnectionNotificationRequest withVpcEndpointId(String vpcEndpointId)
The ID of the endpoint.
vpcEndpointId
- The ID of the endpoint.public void setConnectionNotificationArn(String connectionNotificationArn)
The ARN of the SNS topic for the notifications.
connectionNotificationArn
- The ARN of the SNS topic for the notifications.public String getConnectionNotificationArn()
The ARN of the SNS topic for the notifications.
public CreateVpcEndpointConnectionNotificationRequest withConnectionNotificationArn(String connectionNotificationArn)
The ARN of the SNS topic for the notifications.
connectionNotificationArn
- The ARN of the SNS topic for the notifications.public List<String> getConnectionEvents()
The endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.
Accept
,
Connect
, Delete
, and Reject
.public void setConnectionEvents(Collection<String> connectionEvents)
The endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.
connectionEvents
- The endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.public CreateVpcEndpointConnectionNotificationRequest withConnectionEvents(String... connectionEvents)
The endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.
NOTE: This method appends the values to the existing list (if any). Use
setConnectionEvents(java.util.Collection)
or withConnectionEvents(java.util.Collection)
if you
want to override the existing values.
connectionEvents
- The endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.public CreateVpcEndpointConnectionNotificationRequest withConnectionEvents(Collection<String> connectionEvents)
The endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.
connectionEvents
- The endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.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 CreateVpcEndpointConnectionNotificationRequest 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<CreateVpcEndpointConnectionNotificationRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpcEndpointConnectionNotificationRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateVpcEndpointConnectionNotificationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()