Struct aws_sdk_personalize::operation::create_dataset_group::builders::CreateDatasetGroupInputBuilder
source · #[non_exhaustive]pub struct CreateDatasetGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateDatasetGroupInput
.
Implementations§
source§impl CreateDatasetGroupInputBuilder
impl CreateDatasetGroupInputBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
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.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
sourcepub fn domain(self, input: Domain) -> Self
pub fn domain(self, input: Domain) -> Self
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.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
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.
A list of tags to apply to the dataset group.
sourcepub fn build(self) -> Result<CreateDatasetGroupInput, BuildError>
pub fn build(self) -> Result<CreateDatasetGroupInput, BuildError>
Consumes the builder and constructs a CreateDatasetGroupInput
.
Trait Implementations§
source§impl Clone for CreateDatasetGroupInputBuilder
impl Clone for CreateDatasetGroupInputBuilder
source§fn clone(&self) -> CreateDatasetGroupInputBuilder
fn clone(&self) -> CreateDatasetGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDatasetGroupInputBuilder
impl Default for CreateDatasetGroupInputBuilder
source§fn default() -> CreateDatasetGroupInputBuilder
fn default() -> CreateDatasetGroupInputBuilder
source§impl PartialEq<CreateDatasetGroupInputBuilder> for CreateDatasetGroupInputBuilder
impl PartialEq<CreateDatasetGroupInputBuilder> for CreateDatasetGroupInputBuilder
source§fn eq(&self, other: &CreateDatasetGroupInputBuilder) -> bool
fn eq(&self, other: &CreateDatasetGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.