Struct aws_sdk_amplify::operation::list_backend_environments::builders::ListBackendEnvironmentsOutputBuilder
source · #[non_exhaustive]pub struct ListBackendEnvironmentsOutputBuilder { /* private fields */ }Expand description
A builder for ListBackendEnvironmentsOutput.
Implementations§
source§impl ListBackendEnvironmentsOutputBuilder
impl ListBackendEnvironmentsOutputBuilder
sourcepub fn backend_environments(self, input: BackendEnvironment) -> Self
pub fn backend_environments(self, input: BackendEnvironment) -> Self
Appends an item to backend_environments.
To override the contents of this collection use set_backend_environments.
The list of backend environments for an Amplify app.
sourcepub fn set_backend_environments(
self,
input: Option<Vec<BackendEnvironment>>
) -> Self
pub fn set_backend_environments( self, input: Option<Vec<BackendEnvironment>> ) -> Self
The list of backend environments for an Amplify app.
sourcepub fn get_backend_environments(&self) -> &Option<Vec<BackendEnvironment>>
pub fn get_backend_environments(&self) -> &Option<Vec<BackendEnvironment>>
The list of backend environments for an Amplify app.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
sourcepub fn build(self) -> Result<ListBackendEnvironmentsOutput, BuildError>
pub fn build(self) -> Result<ListBackendEnvironmentsOutput, BuildError>
Consumes the builder and constructs a ListBackendEnvironmentsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListBackendEnvironmentsOutputBuilder
impl Clone for ListBackendEnvironmentsOutputBuilder
source§fn clone(&self) -> ListBackendEnvironmentsOutputBuilder
fn clone(&self) -> ListBackendEnvironmentsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListBackendEnvironmentsOutputBuilder
impl Default for ListBackendEnvironmentsOutputBuilder
source§fn default() -> ListBackendEnvironmentsOutputBuilder
fn default() -> ListBackendEnvironmentsOutputBuilder
source§impl PartialEq for ListBackendEnvironmentsOutputBuilder
impl PartialEq for ListBackendEnvironmentsOutputBuilder
source§fn eq(&self, other: &ListBackendEnvironmentsOutputBuilder) -> bool
fn eq(&self, other: &ListBackendEnvironmentsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.