@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, withSdkRequestTimeout
public 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.SubscriptionProtocolType
public String getProtocol()
The protocol to use. The supported value is https, which delivers JSON-encoded messages using HTTPS POST.
SubscriptionProtocolType
public 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.SubscriptionProtocolType
public 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.SubscriptionProtocolType
public 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.SubscriptionProtocolType
public void setSubscriptionType(String subscriptionType)
The notification type.
subscriptionType
- The notification type.SubscriptionType
public String getSubscriptionType()
The notification type.
SubscriptionType
public CreateNotificationSubscriptionRequest withSubscriptionType(String subscriptionType)
The notification type.
subscriptionType
- The notification type.SubscriptionType
public void setSubscriptionType(SubscriptionType subscriptionType)
The notification type.
subscriptionType
- The notification type.SubscriptionType
public CreateNotificationSubscriptionRequest withSubscriptionType(SubscriptionType subscriptionType)
The notification type.
subscriptionType
- The notification type.SubscriptionType
public String toString()
toString
in class Object
Object.toString()
public CreateNotificationSubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()