@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubscriptionRequestRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSubscriptionRequestRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSubscriptionRequestRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
String |
getDomainIdentifier()
The ID of the Amazon DataZone domain in which the subscription request is created.
|
String |
getRequestReason()
The reason for the subscription request.
|
List<SubscribedListingInput> |
getSubscribedListings()
|
List<SubscribedPrincipalInput> |
getSubscribedPrincipals()
The Amazon DataZone principals for whom the subscription request is created.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
void |
setDomainIdentifier(String domainIdentifier)
The ID of the Amazon DataZone domain in which the subscription request is created.
|
void |
setRequestReason(String requestReason)
The reason for the subscription request.
|
void |
setSubscribedListings(Collection<SubscribedListingInput> subscribedListings)
|
void |
setSubscribedPrincipals(Collection<SubscribedPrincipalInput> subscribedPrincipals)
The Amazon DataZone principals for whom the subscription request is created.
|
String |
toString()
Returns a string representation of this object.
|
CreateSubscriptionRequestRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
CreateSubscriptionRequestRequest |
withDomainIdentifier(String domainIdentifier)
The ID of the Amazon DataZone domain in which the subscription request is created.
|
CreateSubscriptionRequestRequest |
withRequestReason(String requestReason)
The reason for the subscription request.
|
CreateSubscriptionRequestRequest |
withSubscribedListings(Collection<SubscribedListingInput> subscribedListings)
|
CreateSubscriptionRequestRequest |
withSubscribedListings(SubscribedListingInput... subscribedListings)
|
CreateSubscriptionRequestRequest |
withSubscribedPrincipals(Collection<SubscribedPrincipalInput> subscribedPrincipals)
The Amazon DataZone principals for whom the subscription request is created.
|
CreateSubscriptionRequestRequest |
withSubscribedPrincipals(SubscribedPrincipalInput... subscribedPrincipals)
The Amazon DataZone principals for whom the subscription request is created.
|
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 void setClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
public CreateSubscriptionRequestRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.public void setDomainIdentifier(String domainIdentifier)
The ID of the Amazon DataZone domain in which the subscription request is created.
domainIdentifier
- The ID of the Amazon DataZone domain in which the subscription request is created.public String getDomainIdentifier()
The ID of the Amazon DataZone domain in which the subscription request is created.
public CreateSubscriptionRequestRequest withDomainIdentifier(String domainIdentifier)
The ID of the Amazon DataZone domain in which the subscription request is created.
domainIdentifier
- The ID of the Amazon DataZone domain in which the subscription request is created.public void setRequestReason(String requestReason)
The reason for the subscription request.
requestReason
- The reason for the subscription request.public String getRequestReason()
The reason for the subscription request.
public CreateSubscriptionRequestRequest withRequestReason(String requestReason)
The reason for the subscription request.
requestReason
- The reason for the subscription request.public List<SubscribedListingInput> getSubscribedListings()
public void setSubscribedListings(Collection<SubscribedListingInput> subscribedListings)
subscribedListings
- public CreateSubscriptionRequestRequest withSubscribedListings(SubscribedListingInput... subscribedListings)
NOTE: This method appends the values to the existing list (if any). Use
setSubscribedListings(java.util.Collection)
or withSubscribedListings(java.util.Collection)
if
you want to override the existing values.
subscribedListings
- public CreateSubscriptionRequestRequest withSubscribedListings(Collection<SubscribedListingInput> subscribedListings)
subscribedListings
- public List<SubscribedPrincipalInput> getSubscribedPrincipals()
The Amazon DataZone principals for whom the subscription request is created.
public void setSubscribedPrincipals(Collection<SubscribedPrincipalInput> subscribedPrincipals)
The Amazon DataZone principals for whom the subscription request is created.
subscribedPrincipals
- The Amazon DataZone principals for whom the subscription request is created.public CreateSubscriptionRequestRequest withSubscribedPrincipals(SubscribedPrincipalInput... subscribedPrincipals)
The Amazon DataZone principals for whom the subscription request is created.
NOTE: This method appends the values to the existing list (if any). Use
setSubscribedPrincipals(java.util.Collection)
or withSubscribedPrincipals(java.util.Collection)
if you want to override the existing values.
subscribedPrincipals
- The Amazon DataZone principals for whom the subscription request is created.public CreateSubscriptionRequestRequest withSubscribedPrincipals(Collection<SubscribedPrincipalInput> subscribedPrincipals)
The Amazon DataZone principals for whom the subscription request is created.
subscribedPrincipals
- The Amazon DataZone principals for whom the subscription request is created.public String toString()
toString
in class Object
Object.toString()
public CreateSubscriptionRequestRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()