@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNotificationSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreateNotificationSubscriptionRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateNotificationSubscriptionRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getEndpoint()
 The endpoint to receive the notifications. 
 | 
String | 
getOrganizationId()
 The ID of the organization. 
 | 
String | 
getProtocol()
 The protocol to use. 
 | 
String | 
getSubscriptionType()
 The notification type. 
 | 
int | 
hashCode()  | 
void | 
setEndpoint(String endpoint)
 The endpoint to receive the notifications. 
 | 
void | 
setOrganizationId(String organizationId)
 The ID of the organization. 
 | 
void | 
setProtocol(String protocol)
 The protocol to use. 
 | 
void | 
setProtocol(SubscriptionProtocolType protocol)
 The protocol to use. 
 | 
void | 
setSubscriptionType(String subscriptionType)
 The notification type. 
 | 
void | 
setSubscriptionType(SubscriptionType subscriptionType)
 The notification type. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateNotificationSubscriptionRequest | 
withEndpoint(String endpoint)
 The endpoint to receive the notifications. 
 | 
CreateNotificationSubscriptionRequest | 
withOrganizationId(String organizationId)
 The ID of the organization. 
 | 
CreateNotificationSubscriptionRequest | 
withProtocol(String protocol)
 The protocol to use. 
 | 
CreateNotificationSubscriptionRequest | 
withProtocol(SubscriptionProtocolType protocol)
 The protocol to use. 
 | 
CreateNotificationSubscriptionRequest | 
withSubscriptionType(String subscriptionType)
 The notification type. 
 | 
CreateNotificationSubscriptionRequest | 
withSubscriptionType(SubscriptionType subscriptionType)
 The notification type. 
 | 
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, withSdkRequestTimeoutpublic CreateNotificationSubscriptionRequest()
public void setOrganizationId(String organizationId)
The ID of the organization.
organizationId - The ID of the organization.public String getOrganizationId()
The ID of the organization.
public CreateNotificationSubscriptionRequest withOrganizationId(String organizationId)
The ID of the organization.
organizationId - The ID of the organization.public void setEndpoint(String endpoint)
 The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with
 https.
 
endpoint - The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins
        with https.public String getEndpoint()
 The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with
 https.
 
https.public CreateNotificationSubscriptionRequest withEndpoint(String endpoint)
 The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins with
 https.
 
endpoint - The endpoint to receive the notifications. If the protocol is HTTPS, the endpoint is a URL that begins
        with https.public void setProtocol(String protocol)
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
protocol - The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.SubscriptionProtocolTypepublic String getProtocol()
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
SubscriptionProtocolTypepublic CreateNotificationSubscriptionRequest withProtocol(String protocol)
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
protocol - The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.SubscriptionProtocolTypepublic void setProtocol(SubscriptionProtocolType protocol)
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
protocol - The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.SubscriptionProtocolTypepublic CreateNotificationSubscriptionRequest withProtocol(SubscriptionProtocolType protocol)
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
protocol - The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.SubscriptionProtocolTypepublic void setSubscriptionType(String subscriptionType)
The notification type.
subscriptionType - The notification type.SubscriptionTypepublic String getSubscriptionType()
The notification type.
SubscriptionTypepublic CreateNotificationSubscriptionRequest withSubscriptionType(String subscriptionType)
The notification type.
subscriptionType - The notification type.SubscriptionTypepublic void setSubscriptionType(SubscriptionType subscriptionType)
The notification type.
subscriptionType - The notification type.SubscriptionTypepublic CreateNotificationSubscriptionRequest withSubscriptionType(SubscriptionType subscriptionType)
The notification type.
subscriptionType - The notification type.SubscriptionTypepublic String toString()
toString in class ObjectObject.toString()public CreateNotificationSubscriptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.