@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubscriptionDefinitionVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSubscriptionDefinitionVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSubscriptionDefinitionVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAmznClientToken()
The client token used to request idempotent operations.
|
String |
getSubscriptionDefinitionId()
subscription definition Id
|
List<Subscription> |
getSubscriptions()
Subscriptions in the version.
|
int |
hashCode() |
void |
setAmznClientToken(String amznClientToken)
The client token used to request idempotent operations.
|
void |
setSubscriptionDefinitionId(String subscriptionDefinitionId)
subscription definition Id
|
void |
setSubscriptions(Collection<Subscription> subscriptions)
Subscriptions in the version.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateSubscriptionDefinitionVersionRequest |
withAmznClientToken(String amznClientToken)
The client token used to request idempotent operations.
|
CreateSubscriptionDefinitionVersionRequest |
withSubscriptionDefinitionId(String subscriptionDefinitionId)
subscription definition Id
|
CreateSubscriptionDefinitionVersionRequest |
withSubscriptions(Collection<Subscription> subscriptions)
Subscriptions in the version.
|
CreateSubscriptionDefinitionVersionRequest |
withSubscriptions(Subscription... subscriptions)
Subscriptions in the version.
|
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 CreateSubscriptionDefinitionVersionRequest()
public void setAmznClientToken(String amznClientToken)
amznClientToken
- The client token used to request idempotent operations.public String getAmznClientToken()
public CreateSubscriptionDefinitionVersionRequest withAmznClientToken(String amznClientToken)
amznClientToken
- The client token used to request idempotent operations.public void setSubscriptionDefinitionId(String subscriptionDefinitionId)
subscriptionDefinitionId
- subscription definition Idpublic String getSubscriptionDefinitionId()
public CreateSubscriptionDefinitionVersionRequest withSubscriptionDefinitionId(String subscriptionDefinitionId)
subscriptionDefinitionId
- subscription definition Idpublic List<Subscription> getSubscriptions()
public void setSubscriptions(Collection<Subscription> subscriptions)
subscriptions
- Subscriptions in the version.public CreateSubscriptionDefinitionVersionRequest withSubscriptions(Subscription... subscriptions)
NOTE: This method appends the values to the existing list (if any). Use
setSubscriptions(java.util.Collection)
or withSubscriptions(java.util.Collection)
if you want
to override the existing values.
subscriptions
- Subscriptions in the version.public CreateSubscriptionDefinitionVersionRequest withSubscriptions(Collection<Subscription> subscriptions)
subscriptions
- Subscriptions in the version.public String toString()
toString
in class Object
Object.toString()
public CreateSubscriptionDefinitionVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.