#[non_exhaustive]pub struct ListInstancesOutputBuilder { /* private fields */ }
Expand description
A builder for ListInstancesOutput
.
Implementations§
source§impl ListInstancesOutputBuilder
impl ListInstancesOutputBuilder
sourcepub fn instances(self, input: InstanceMetadata) -> Self
pub fn instances(self, input: InstanceMetadata) -> Self
Appends an item to instances
.
To override the contents of this collection use set_instances
.
Lists the IAM Identity Center instances that the caller has access to.
sourcepub fn set_instances(self, input: Option<Vec<InstanceMetadata>>) -> Self
pub fn set_instances(self, input: Option<Vec<InstanceMetadata>>) -> Self
Lists the IAM Identity Center instances that the caller has access to.
sourcepub fn get_instances(&self) -> &Option<Vec<InstanceMetadata>>
pub fn get_instances(&self) -> &Option<Vec<InstanceMetadata>>
Lists the IAM Identity Center instances that the caller has access to.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
sourcepub fn build(self) -> ListInstancesOutput
pub fn build(self) -> ListInstancesOutput
Consumes the builder and constructs a ListInstancesOutput
.
Trait Implementations§
source§impl Clone for ListInstancesOutputBuilder
impl Clone for ListInstancesOutputBuilder
source§fn clone(&self) -> ListInstancesOutputBuilder
fn clone(&self) -> ListInstancesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListInstancesOutputBuilder
impl Debug for ListInstancesOutputBuilder
source§impl Default for ListInstancesOutputBuilder
impl Default for ListInstancesOutputBuilder
source§fn default() -> ListInstancesOutputBuilder
fn default() -> ListInstancesOutputBuilder
source§impl PartialEq for ListInstancesOutputBuilder
impl PartialEq for ListInstancesOutputBuilder
source§fn eq(&self, other: &ListInstancesOutputBuilder) -> bool
fn eq(&self, other: &ListInstancesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.