Struct aws_sdk_personalize::types::builders::DatasetGroupBuilder
source · #[non_exhaustive]pub struct DatasetGroupBuilder { /* private fields */ }
Expand description
A builder for DatasetGroup
.
Implementations§
source§impl DatasetGroupBuilder
impl DatasetGroupBuilder
sourcepub fn dataset_group_arn(self, input: impl Into<String>) -> Self
pub fn dataset_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group.
sourcepub fn set_dataset_group_arn(self, input: Option<String>) -> Self
pub fn set_dataset_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the dataset group.
sourcepub fn get_dataset_group_arn(&self) -> &Option<String>
pub fn get_dataset_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the dataset group.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The current status of the dataset group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The current status of the dataset group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The current status of the dataset group.
A dataset group can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING
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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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 the 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 the Key Management Service (KMS) key used to encrypt the datasets.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the datasets.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The creation date and time (in Unix time) of the dataset group.
sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The creation date and time (in Unix time) of the dataset group.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The creation date and time (in Unix time) of the dataset group.
sourcepub fn last_updated_date_time(self, input: DateTime) -> Self
pub fn last_updated_date_time(self, input: DateTime) -> Self
The last update date and time (in Unix time) of the dataset group.
sourcepub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date_time(self, input: Option<DateTime>) -> Self
The last update date and time (in Unix time) of the dataset group.
sourcepub fn get_last_updated_date_time(&self) -> &Option<DateTime>
pub fn get_last_updated_date_time(&self) -> &Option<DateTime>
The last update date and time (in Unix time) of the dataset group.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
If creating a dataset group fails, provides the reason why.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
If creating a dataset group fails, provides the reason why.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
If creating a dataset group fails, provides the reason why.
sourcepub fn set_domain(self, input: Option<Domain>) -> Self
pub fn set_domain(self, input: Option<Domain>) -> Self
The domain of a Domain dataset group.
sourcepub fn get_domain(&self) -> &Option<Domain>
pub fn get_domain(&self) -> &Option<Domain>
The domain of a Domain dataset group.
sourcepub fn build(self) -> DatasetGroup
pub fn build(self) -> DatasetGroup
Consumes the builder and constructs a DatasetGroup
.
Trait Implementations§
source§impl Clone for DatasetGroupBuilder
impl Clone for DatasetGroupBuilder
source§fn clone(&self) -> DatasetGroupBuilder
fn clone(&self) -> DatasetGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatasetGroupBuilder
impl Debug for DatasetGroupBuilder
source§impl Default for DatasetGroupBuilder
impl Default for DatasetGroupBuilder
source§fn default() -> DatasetGroupBuilder
fn default() -> DatasetGroupBuilder
source§impl PartialEq for DatasetGroupBuilder
impl PartialEq for DatasetGroupBuilder
source§fn eq(&self, other: &DatasetGroupBuilder) -> bool
fn eq(&self, other: &DatasetGroupBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.