@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubscriptionGrantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSubscriptionGrantRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSubscriptionGrantRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AssetTargetNameMap> |
getAssetTargetNames()
The names of the assets for which the subscription grant is created.
|
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 grant is created.
|
String |
getEnvironmentIdentifier()
The ID of the environment in which the subscription grant is created.
|
GrantedEntityInput |
getGrantedEntity()
The entity to which the subscription is to be granted.
|
String |
getSubscriptionTargetIdentifier()
The ID of the subscription target for which the subscription grant is created.
|
int |
hashCode() |
void |
setAssetTargetNames(Collection<AssetTargetNameMap> assetTargetNames)
The names of the assets for which the subscription grant is created.
|
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 grant is created.
|
void |
setEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the subscription grant is created.
|
void |
setGrantedEntity(GrantedEntityInput grantedEntity)
The entity to which the subscription is to be granted.
|
void |
setSubscriptionTargetIdentifier(String subscriptionTargetIdentifier)
The ID of the subscription target for which the subscription grant is created.
|
String |
toString()
Returns a string representation of this object.
|
CreateSubscriptionGrantRequest |
withAssetTargetNames(AssetTargetNameMap... assetTargetNames)
The names of the assets for which the subscription grant is created.
|
CreateSubscriptionGrantRequest |
withAssetTargetNames(Collection<AssetTargetNameMap> assetTargetNames)
The names of the assets for which the subscription grant is created.
|
CreateSubscriptionGrantRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
|
CreateSubscriptionGrantRequest |
withDomainIdentifier(String domainIdentifier)
The ID of the Amazon DataZone domain in which the subscription grant is created.
|
CreateSubscriptionGrantRequest |
withEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the subscription grant is created.
|
CreateSubscriptionGrantRequest |
withGrantedEntity(GrantedEntityInput grantedEntity)
The entity to which the subscription is to be granted.
|
CreateSubscriptionGrantRequest |
withSubscriptionTargetIdentifier(String subscriptionTargetIdentifier)
The ID of the subscription target for which the subscription grant 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 List<AssetTargetNameMap> getAssetTargetNames()
The names of the assets for which the subscription grant is created.
public void setAssetTargetNames(Collection<AssetTargetNameMap> assetTargetNames)
The names of the assets for which the subscription grant is created.
assetTargetNames
- The names of the assets for which the subscription grant is created.public CreateSubscriptionGrantRequest withAssetTargetNames(AssetTargetNameMap... assetTargetNames)
The names of the assets for which the subscription grant is created.
NOTE: This method appends the values to the existing list (if any). Use
setAssetTargetNames(java.util.Collection)
or withAssetTargetNames(java.util.Collection)
if you
want to override the existing values.
assetTargetNames
- The names of the assets for which the subscription grant is created.public CreateSubscriptionGrantRequest withAssetTargetNames(Collection<AssetTargetNameMap> assetTargetNames)
The names of the assets for which the subscription grant is created.
assetTargetNames
- The names of the assets for which the subscription grant is created.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 CreateSubscriptionGrantRequest 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 grant is created.
domainIdentifier
- The ID of the Amazon DataZone domain in which the subscription grant is created.public String getDomainIdentifier()
The ID of the Amazon DataZone domain in which the subscription grant is created.
public CreateSubscriptionGrantRequest withDomainIdentifier(String domainIdentifier)
The ID of the Amazon DataZone domain in which the subscription grant is created.
domainIdentifier
- The ID of the Amazon DataZone domain in which the subscription grant is created.public void setEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the subscription grant is created.
environmentIdentifier
- The ID of the environment in which the subscription grant is created.public String getEnvironmentIdentifier()
The ID of the environment in which the subscription grant is created.
public CreateSubscriptionGrantRequest withEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the subscription grant is created.
environmentIdentifier
- The ID of the environment in which the subscription grant is created.public void setGrantedEntity(GrantedEntityInput grantedEntity)
The entity to which the subscription is to be granted.
grantedEntity
- The entity to which the subscription is to be granted.public GrantedEntityInput getGrantedEntity()
The entity to which the subscription is to be granted.
public CreateSubscriptionGrantRequest withGrantedEntity(GrantedEntityInput grantedEntity)
The entity to which the subscription is to be granted.
grantedEntity
- The entity to which the subscription is to be granted.public void setSubscriptionTargetIdentifier(String subscriptionTargetIdentifier)
The ID of the subscription target for which the subscription grant is created.
subscriptionTargetIdentifier
- The ID of the subscription target for which the subscription grant is created.public String getSubscriptionTargetIdentifier()
The ID of the subscription target for which the subscription grant is created.
public CreateSubscriptionGrantRequest withSubscriptionTargetIdentifier(String subscriptionTargetIdentifier)
The ID of the subscription target for which the subscription grant is created.
subscriptionTargetIdentifier
- The ID of the subscription target for which the subscription grant is created.public String toString()
toString
in class Object
Object.toString()
public CreateSubscriptionGrantRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()