#[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
source§impl PartialEq for GetWorkspaceOutputBuilder
impl PartialEq for GetWorkspaceOutputBuilder
source§fn eq(&self, other: &GetWorkspaceOutputBuilder) -> bool
fn eq(&self, other: &GetWorkspaceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.