Struct aws_sdk_workspaces::operation::reboot_workspaces::builders::RebootWorkspacesInputBuilder
source · #[non_exhaustive]pub struct RebootWorkspacesInputBuilder { /* private fields */ }Expand description
A builder for RebootWorkspacesInput.
Implementations§
source§impl RebootWorkspacesInputBuilder
impl RebootWorkspacesInputBuilder
sourcepub fn reboot_workspace_requests(self, input: RebootRequest) -> Self
pub fn reboot_workspace_requests(self, input: RebootRequest) -> Self
Appends an item to reboot_workspace_requests.
To override the contents of this collection use set_reboot_workspace_requests.
The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
sourcepub fn set_reboot_workspace_requests(
self,
input: Option<Vec<RebootRequest>>
) -> Self
pub fn set_reboot_workspace_requests( self, input: Option<Vec<RebootRequest>> ) -> Self
The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
sourcepub fn get_reboot_workspace_requests(&self) -> &Option<Vec<RebootRequest>>
pub fn get_reboot_workspace_requests(&self) -> &Option<Vec<RebootRequest>>
The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
sourcepub fn build(self) -> Result<RebootWorkspacesInput, BuildError>
pub fn build(self) -> Result<RebootWorkspacesInput, BuildError>
Consumes the builder and constructs a RebootWorkspacesInput.
source§impl RebootWorkspacesInputBuilder
impl RebootWorkspacesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RebootWorkspacesOutput, SdkError<RebootWorkspacesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RebootWorkspacesOutput, SdkError<RebootWorkspacesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RebootWorkspacesInputBuilder
impl Clone for RebootWorkspacesInputBuilder
source§fn clone(&self) -> RebootWorkspacesInputBuilder
fn clone(&self) -> RebootWorkspacesInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RebootWorkspacesInputBuilder
impl Debug for RebootWorkspacesInputBuilder
source§impl Default for RebootWorkspacesInputBuilder
impl Default for RebootWorkspacesInputBuilder
source§fn default() -> RebootWorkspacesInputBuilder
fn default() -> RebootWorkspacesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RebootWorkspacesInputBuilder
impl PartialEq for RebootWorkspacesInputBuilder
source§fn eq(&self, other: &RebootWorkspacesInputBuilder) -> bool
fn eq(&self, other: &RebootWorkspacesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RebootWorkspacesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RebootWorkspacesInputBuilder
impl Send for RebootWorkspacesInputBuilder
impl Sync for RebootWorkspacesInputBuilder
impl Unpin for RebootWorkspacesInputBuilder
impl UnwindSafe for RebootWorkspacesInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.