@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() |
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
List<String> |
getConnectionEvents()
One or more 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 you provide to ensure the idempotency of the request.
|
void |
setConnectionEvents(Collection<String> connectionEvents)
One or more 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; useful for testing and debugging.
|
CreateVpcEndpointConnectionNotificationRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
CreateVpcEndpointConnectionNotificationRequest |
withConnectionEvents(Collection<String> connectionEvents)
One or more endpoint events for which to receive notifications.
|
CreateVpcEndpointConnectionNotificationRequest |
withConnectionEvents(String... connectionEvents)
One or more 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, copyBaseTo, 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()
One or more 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)
One or more endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.
connectionEvents
- One or more endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.public CreateVpcEndpointConnectionNotificationRequest withConnectionEvents(String... connectionEvents)
One or more 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
- One or more endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.public CreateVpcEndpointConnectionNotificationRequest withConnectionEvents(Collection<String> connectionEvents)
One or more endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.
connectionEvents
- One or more endpoint events for which to receive notifications. Valid values are Accept
,
Connect
, Delete
, and Reject
.public void setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see How to Ensure
Idempotency.public String getClientToken()
Unique, case-sensitive identifier 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 you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
clientToken
- Unique, case-sensitive identifier 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()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.