@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDatasetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDatasetGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomain()
The domain of the dataset group.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
|
String |
getName()
The name for the new dataset group.
|
String |
getRoleArn()
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key.
|
List<Tag> |
getTags()
A list of tags to apply
to the dataset group.
|
int |
hashCode() |
void |
setDomain(String domain)
The domain of the dataset group.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
|
void |
setName(String name)
The name for the new dataset group.
|
void |
setRoleArn(String roleArn)
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply
to the dataset group.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetGroupRequest |
withDomain(Domain domain)
The domain of the dataset group.
|
CreateDatasetGroupRequest |
withDomain(String domain)
The domain of the dataset group.
|
CreateDatasetGroupRequest |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
|
CreateDatasetGroupRequest |
withName(String name)
The name for the new dataset group.
|
CreateDatasetGroupRequest |
withRoleArn(String roleArn)
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key.
|
CreateDatasetGroupRequest |
withTags(Collection<Tag> tags)
A list of tags to apply
to the dataset group.
|
CreateDatasetGroupRequest |
withTags(Tag... tags)
A list of tags to apply
to the dataset group.
|
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 setName(String name)
The name for the new dataset group.
name
- The name for the new dataset group.public String getName()
The name for the new dataset group.
public CreateDatasetGroupRequest withName(String name)
The name for the new dataset group.
name
- The name for the new dataset group.public void setRoleArn(String roleArn)
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
roleArn
- The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.public String getRoleArn()
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
public CreateDatasetGroupRequest withRoleArn(String roleArn)
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
roleArn
- The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management
Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
kmsKeyArn
- The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
public CreateDatasetGroupRequest withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
kmsKeyArn
- The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.public void setDomain(String domain)
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
domain
- The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify
determines the default schemas for datasets and the use cases available for recommenders. If you don't
specify a domain, you create a Custom dataset group with solution versions that you deploy with a
campaign.Domain
public String getDomain()
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
Domain
public CreateDatasetGroupRequest withDomain(String domain)
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
domain
- The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify
determines the default schemas for datasets and the use cases available for recommenders. If you don't
specify a domain, you create a Custom dataset group with solution versions that you deploy with a
campaign.Domain
public CreateDatasetGroupRequest withDomain(Domain domain)
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
domain
- The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify
determines the default schemas for datasets and the use cases available for recommenders. If you don't
specify a domain, you create a Custom dataset group with solution versions that you deploy with a
campaign.Domain
public List<Tag> getTags()
A list of tags to apply to the dataset group.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the dataset group.
tags
- A list of tags to
apply to the dataset group.public CreateDatasetGroupRequest withTags(Tag... tags)
A list of tags to apply to the dataset group.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to
apply to the dataset group.public CreateDatasetGroupRequest withTags(Collection<Tag> tags)
A list of tags to apply to the dataset group.
tags
- A list of tags to
apply to the dataset group.public String toString()
toString
in class Object
Object.toString()
public CreateDatasetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()