#[non_exhaustive]pub struct WorkGroupBuilder { /* private fields */ }Expand description
A builder for WorkGroup.
Implementations§
Source§impl WorkGroupBuilder
impl WorkGroupBuilder
Sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The workgroup name.
This field is required.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 get_state(&self) -> &Option<WorkGroupState>
pub fn get_state(&self) -> &Option<WorkGroupState>
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 and calculation results are stored, the encryption configuration, if any, used for query and calculation 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 and calculation results are stored, the encryption configuration, if any, used for query and calculation 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 get_configuration(&self) -> &Option<WorkGroupConfiguration>
pub fn get_configuration(&self) -> &Option<WorkGroupConfiguration>
The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption configuration, if any, used for query and calculation 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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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.
Sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The date and time the workgroup was created.
Sourcepub fn identity_center_application_arn(self, input: impl Into<String>) -> Self
pub fn identity_center_application_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM Identity Center enabled application associated with the workgroup.
Sourcepub fn set_identity_center_application_arn(self, input: Option<String>) -> Self
pub fn set_identity_center_application_arn(self, input: Option<String>) -> Self
The ARN of the IAM Identity Center enabled application associated with the workgroup.
Sourcepub fn get_identity_center_application_arn(&self) -> &Option<String>
pub fn get_identity_center_application_arn(&self) -> &Option<String>
The ARN of the IAM Identity Center enabled application associated with the workgroup.
Trait Implementations§
Source§impl Clone for WorkGroupBuilder
impl Clone for WorkGroupBuilder
Source§fn clone(&self) -> WorkGroupBuilder
fn clone(&self) -> WorkGroupBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WorkGroupBuilder
impl Debug for WorkGroupBuilder
Source§impl Default for WorkGroupBuilder
impl Default for WorkGroupBuilder
Source§fn default() -> WorkGroupBuilder
fn default() -> WorkGroupBuilder
Source§impl PartialEq for WorkGroupBuilder
impl PartialEq for WorkGroupBuilder
impl StructuralPartialEq for WorkGroupBuilder
Auto Trait Implementations§
impl Freeze for WorkGroupBuilder
impl RefUnwindSafe for WorkGroupBuilder
impl Send for WorkGroupBuilder
impl Sync for WorkGroupBuilder
impl Unpin for WorkGroupBuilder
impl UnsafeUnpin for WorkGroupBuilder
impl UnwindSafe for WorkGroupBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more