@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 |
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.
|
int |
hashCode() |
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.
|
String |
toString()
Returns a string representation of this object.
|
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.
|
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 String toString()
toString
in class Object
Object.toString()
public CreateDatasetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()