#[non_exhaustive]pub struct GetWorkspaceOutputBuilder { /* private fields */ }Expand description
A builder for GetWorkspaceOutput.
Implementations§
source§impl GetWorkspaceOutputBuilder
impl GetWorkspaceOutputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace.
This field is required.sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The ARN of the workspace.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the workspace.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the workspace.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the workspace.
sourcepub fn linked_services(self, input: impl Into<String>) -> Self
pub fn linked_services(self, input: impl Into<String>) -> Self
Appends an item to linked_services.
To override the contents of this collection use set_linked_services.
A list of services that are linked to the workspace.
sourcepub fn set_linked_services(self, input: Option<Vec<String>>) -> Self
pub fn set_linked_services(self, input: Option<Vec<String>>) -> Self
A list of services that are linked to the workspace.
sourcepub fn get_linked_services(&self) -> &Option<Vec<String>>
pub fn get_linked_services(&self) -> &Option<Vec<String>>
A list of services that are linked to the workspace.
sourcepub fn s3_location(self, input: impl Into<String>) -> Self
pub fn s3_location(self, input: impl Into<String>) -> Self
The ARN of the S3 bucket where resources associated with the workspace are stored.
sourcepub fn set_s3_location(self, input: Option<String>) -> Self
pub fn set_s3_location(self, input: Option<String>) -> Self
The ARN of the S3 bucket where resources associated with the workspace are stored.
sourcepub fn get_s3_location(&self) -> &Option<String>
pub fn get_s3_location(&self) -> &Option<String>
The ARN of the S3 bucket where resources associated with the workspace are stored.
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The ARN of the execution role associated with the workspace.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The ARN of the execution role associated with the workspace.
sourcepub fn get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
The ARN of the execution role associated with the workspace.
sourcepub fn creation_date_time(self, input: DateTime) -> Self
pub fn creation_date_time(self, input: DateTime) -> Self
The date and time when the workspace was created.
This field is required.sourcepub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_date_time(self, input: Option<DateTime>) -> Self
The date and time when the workspace was created.
sourcepub fn get_creation_date_time(&self) -> &Option<DateTime>
pub fn get_creation_date_time(&self) -> &Option<DateTime>
The date and time when the workspace was created.
sourcepub fn update_date_time(self, input: DateTime) -> Self
pub fn update_date_time(self, input: DateTime) -> Self
The date and time when the workspace was last updated.
This field is required.sourcepub fn set_update_date_time(self, input: Option<DateTime>) -> Self
pub fn set_update_date_time(self, input: Option<DateTime>) -> Self
The date and time when the workspace was last updated.
sourcepub fn get_update_date_time(&self) -> &Option<DateTime>
pub fn get_update_date_time(&self) -> &Option<DateTime>
The date and time when the workspace was last updated.
sourcepub fn build(self) -> Result<GetWorkspaceOutput, BuildError>
pub fn build(self) -> Result<GetWorkspaceOutput, BuildError>
Consumes the builder and constructs a GetWorkspaceOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetWorkspaceOutputBuilder
impl Clone for GetWorkspaceOutputBuilder
source§fn clone(&self) -> GetWorkspaceOutputBuilder
fn clone(&self) -> GetWorkspaceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetWorkspaceOutputBuilder
impl Debug for GetWorkspaceOutputBuilder
source§impl Default for GetWorkspaceOutputBuilder
impl Default for GetWorkspaceOutputBuilder
source§fn default() -> GetWorkspaceOutputBuilder
fn default() -> GetWorkspaceOutputBuilder
impl StructuralPartialEq for GetWorkspaceOutputBuilder
Auto Trait Implementations§
impl Freeze for GetWorkspaceOutputBuilder
impl RefUnwindSafe for GetWorkspaceOutputBuilder
impl Send for GetWorkspaceOutputBuilder
impl Sync for GetWorkspaceOutputBuilder
impl Unpin for GetWorkspaceOutputBuilder
impl UnwindSafe for GetWorkspaceOutputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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