#[non_exhaustive]pub struct ListHostKeysOutputBuilder { /* private fields */ }
Expand description
A builder for ListHostKeysOutput
.
Implementations§
source§impl ListHostKeysOutputBuilder
impl ListHostKeysOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Returns a token that you can use to call ListHostKeys
again and receive additional results, if there are any.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Returns a token that you can use to call ListHostKeys
again and receive additional results, if there are any.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Returns a token that you can use to call ListHostKeys
again and receive additional results, if there are any.
sourcepub fn server_id(self, input: impl Into<String>) -> Self
pub fn server_id(self, input: impl Into<String>) -> Self
Returns the server identifier that contains the listed host keys.
This field is required.sourcepub fn set_server_id(self, input: Option<String>) -> Self
pub fn set_server_id(self, input: Option<String>) -> Self
Returns the server identifier that contains the listed host keys.
sourcepub fn get_server_id(&self) -> &Option<String>
pub fn get_server_id(&self) -> &Option<String>
Returns the server identifier that contains the listed host keys.
sourcepub fn host_keys(self, input: ListedHostKey) -> Self
pub fn host_keys(self, input: ListedHostKey) -> Self
Appends an item to host_keys
.
To override the contents of this collection use set_host_keys
.
Returns an array, where each item contains the details of a host key.
sourcepub fn set_host_keys(self, input: Option<Vec<ListedHostKey>>) -> Self
pub fn set_host_keys(self, input: Option<Vec<ListedHostKey>>) -> Self
Returns an array, where each item contains the details of a host key.
sourcepub fn get_host_keys(&self) -> &Option<Vec<ListedHostKey>>
pub fn get_host_keys(&self) -> &Option<Vec<ListedHostKey>>
Returns an array, where each item contains the details of a host key.
sourcepub fn build(self) -> Result<ListHostKeysOutput, BuildError>
pub fn build(self) -> Result<ListHostKeysOutput, BuildError>
Consumes the builder and constructs a ListHostKeysOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListHostKeysOutputBuilder
impl Clone for ListHostKeysOutputBuilder
source§fn clone(&self) -> ListHostKeysOutputBuilder
fn clone(&self) -> ListHostKeysOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListHostKeysOutputBuilder
impl Debug for ListHostKeysOutputBuilder
source§impl Default for ListHostKeysOutputBuilder
impl Default for ListHostKeysOutputBuilder
source§fn default() -> ListHostKeysOutputBuilder
fn default() -> ListHostKeysOutputBuilder
source§impl PartialEq for ListHostKeysOutputBuilder
impl PartialEq for ListHostKeysOutputBuilder
source§fn eq(&self, other: &ListHostKeysOutputBuilder) -> bool
fn eq(&self, other: &ListHostKeysOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListHostKeysOutputBuilder
Auto Trait Implementations§
impl Freeze for ListHostKeysOutputBuilder
impl RefUnwindSafe for ListHostKeysOutputBuilder
impl Send for ListHostKeysOutputBuilder
impl Sync for ListHostKeysOutputBuilder
impl Unpin for ListHostKeysOutputBuilder
impl UnwindSafe for ListHostKeysOutputBuilder
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> 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