Struct aws_sdk_workspacesthinclient::operation::update_environment::builders::UpdateEnvironmentInputBuilder
source · #[non_exhaustive]pub struct UpdateEnvironmentInputBuilder { /* private fields */ }Expand description
A builder for UpdateEnvironmentInput.
Implementations§
source§impl UpdateEnvironmentInputBuilder
impl UpdateEnvironmentInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the environment to update.
This field is required.sourcepub fn desktop_arn(self, input: impl Into<String>) -> Self
pub fn desktop_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
sourcepub fn set_desktop_arn(self, input: Option<String>) -> Self
pub fn set_desktop_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
sourcepub fn get_desktop_arn(&self) -> &Option<String>
pub fn get_desktop_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
sourcepub fn desktop_endpoint(self, input: impl Into<String>) -> Self
pub fn desktop_endpoint(self, input: impl Into<String>) -> Self
The URL for the identity provider login (only for environments that use AppStream 2.0).
sourcepub fn set_desktop_endpoint(self, input: Option<String>) -> Self
pub fn set_desktop_endpoint(self, input: Option<String>) -> Self
The URL for the identity provider login (only for environments that use AppStream 2.0).
sourcepub fn get_desktop_endpoint(&self) -> &Option<String>
pub fn get_desktop_endpoint(&self) -> &Option<String>
The URL for the identity provider login (only for environments that use AppStream 2.0).
sourcepub fn software_set_update_schedule(
self,
input: SoftwareSetUpdateSchedule
) -> Self
pub fn software_set_update_schedule( self, input: SoftwareSetUpdateSchedule ) -> Self
An option to define if software updates should be applied within a maintenance window.
sourcepub fn set_software_set_update_schedule(
self,
input: Option<SoftwareSetUpdateSchedule>
) -> Self
pub fn set_software_set_update_schedule( self, input: Option<SoftwareSetUpdateSchedule> ) -> Self
An option to define if software updates should be applied within a maintenance window.
sourcepub fn get_software_set_update_schedule(
&self
) -> &Option<SoftwareSetUpdateSchedule>
pub fn get_software_set_update_schedule( &self ) -> &Option<SoftwareSetUpdateSchedule>
An option to define if software updates should be applied within a maintenance window.
sourcepub fn maintenance_window(self, input: MaintenanceWindow) -> Self
pub fn maintenance_window(self, input: MaintenanceWindow) -> Self
A specification for a time window to apply software updates.
sourcepub fn set_maintenance_window(self, input: Option<MaintenanceWindow>) -> Self
pub fn set_maintenance_window(self, input: Option<MaintenanceWindow>) -> Self
A specification for a time window to apply software updates.
sourcepub fn get_maintenance_window(&self) -> &Option<MaintenanceWindow>
pub fn get_maintenance_window(&self) -> &Option<MaintenanceWindow>
A specification for a time window to apply software updates.
sourcepub fn software_set_update_mode(self, input: SoftwareSetUpdateMode) -> Self
pub fn software_set_update_mode(self, input: SoftwareSetUpdateMode) -> Self
An option to define which software updates to apply.
sourcepub fn set_software_set_update_mode(
self,
input: Option<SoftwareSetUpdateMode>
) -> Self
pub fn set_software_set_update_mode( self, input: Option<SoftwareSetUpdateMode> ) -> Self
An option to define which software updates to apply.
sourcepub fn get_software_set_update_mode(&self) -> &Option<SoftwareSetUpdateMode>
pub fn get_software_set_update_mode(&self) -> &Option<SoftwareSetUpdateMode>
An option to define which software updates to apply.
sourcepub fn desired_software_set_id(self, input: impl Into<String>) -> Self
pub fn desired_software_set_id(self, input: impl Into<String>) -> Self
The ID of the software set to apply.
sourcepub fn set_desired_software_set_id(self, input: Option<String>) -> Self
pub fn set_desired_software_set_id(self, input: Option<String>) -> Self
The ID of the software set to apply.
sourcepub fn get_desired_software_set_id(&self) -> &Option<String>
pub fn get_desired_software_set_id(&self) -> &Option<String>
The ID of the software set to apply.
sourcepub fn build(self) -> Result<UpdateEnvironmentInput, BuildError>
pub fn build(self) -> Result<UpdateEnvironmentInput, BuildError>
Consumes the builder and constructs a UpdateEnvironmentInput.
source§impl UpdateEnvironmentInputBuilder
impl UpdateEnvironmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateEnvironmentOutput, SdkError<UpdateEnvironmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateEnvironmentOutput, SdkError<UpdateEnvironmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEnvironmentInputBuilder
impl Clone for UpdateEnvironmentInputBuilder
source§fn clone(&self) -> UpdateEnvironmentInputBuilder
fn clone(&self) -> UpdateEnvironmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateEnvironmentInputBuilder
impl Default for UpdateEnvironmentInputBuilder
source§fn default() -> UpdateEnvironmentInputBuilder
fn default() -> UpdateEnvironmentInputBuilder
source§impl PartialEq for UpdateEnvironmentInputBuilder
impl PartialEq for UpdateEnvironmentInputBuilder
source§fn eq(&self, other: &UpdateEnvironmentInputBuilder) -> bool
fn eq(&self, other: &UpdateEnvironmentInputBuilder) -> bool
self and other values to be equal, and is used
by ==.