Struct aws_sdk_athena::model::work_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for WorkGroup
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn state(self, input: WorkGroupState) -> Self
pub fn state(self, input: WorkGroupState) -> Self
The state of the workgroup: ENABLED or DISABLED.
sourcepub fn set_state(self, input: Option<WorkGroupState>) -> Self
pub fn set_state(self, input: Option<WorkGroupState>) -> Self
The state of the workgroup: ENABLED or DISABLED.
sourcepub fn configuration(self, input: WorkGroupConfiguration) -> Self
pub fn configuration(self, input: WorkGroupConfiguration) -> Self
The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration
(true/false) in the WorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration
.
sourcepub fn set_configuration(self, input: Option<WorkGroupConfiguration>) -> Self
pub fn set_configuration(self, input: Option<WorkGroupConfiguration>) -> Self
The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption configuration, if any, used for query results; whether the Amazon CloudWatch Metrics are enabled for the workgroup; whether workgroup settings override client-side settings; and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration
(true/false) in the WorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The workgroup description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The workgroup description.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The date and time the workgroup was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The date and time the workgroup was created.