Struct aws_sdk_ec2::operation::describe_instance_event_windows::builders::DescribeInstanceEventWindowsOutputBuilder
source · #[non_exhaustive]pub struct DescribeInstanceEventWindowsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeInstanceEventWindowsOutput
.
Implementations§
source§impl DescribeInstanceEventWindowsOutputBuilder
impl DescribeInstanceEventWindowsOutputBuilder
sourcepub fn instance_event_windows(self, input: InstanceEventWindow) -> Self
pub fn instance_event_windows(self, input: InstanceEventWindow) -> Self
Appends an item to instance_event_windows
.
To override the contents of this collection use set_instance_event_windows
.
Information about the event windows.
sourcepub fn set_instance_event_windows(
self,
input: Option<Vec<InstanceEventWindow>>
) -> Self
pub fn set_instance_event_windows( self, input: Option<Vec<InstanceEventWindow>> ) -> Self
Information about the event windows.
sourcepub fn get_instance_event_windows(&self) -> &Option<Vec<InstanceEventWindow>>
pub fn get_instance_event_windows(&self) -> &Option<Vec<InstanceEventWindow>>
Information about the event windows.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn build(self) -> DescribeInstanceEventWindowsOutput
pub fn build(self) -> DescribeInstanceEventWindowsOutput
Consumes the builder and constructs a DescribeInstanceEventWindowsOutput
.
Trait Implementations§
source§impl Clone for DescribeInstanceEventWindowsOutputBuilder
impl Clone for DescribeInstanceEventWindowsOutputBuilder
source§fn clone(&self) -> DescribeInstanceEventWindowsOutputBuilder
fn clone(&self) -> DescribeInstanceEventWindowsOutputBuilder
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 Default for DescribeInstanceEventWindowsOutputBuilder
impl Default for DescribeInstanceEventWindowsOutputBuilder
source§fn default() -> DescribeInstanceEventWindowsOutputBuilder
fn default() -> DescribeInstanceEventWindowsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeInstanceEventWindowsOutputBuilder
impl PartialEq for DescribeInstanceEventWindowsOutputBuilder
source§fn eq(&self, other: &DescribeInstanceEventWindowsOutputBuilder) -> bool
fn eq(&self, other: &DescribeInstanceEventWindowsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeInstanceEventWindowsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeInstanceEventWindowsOutputBuilder
impl Send for DescribeInstanceEventWindowsOutputBuilder
impl Sync for DescribeInstanceEventWindowsOutputBuilder
impl Unpin for DescribeInstanceEventWindowsOutputBuilder
impl UnwindSafe for DescribeInstanceEventWindowsOutputBuilder
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.