Struct aws_sdk_proton::operation::list_component_provisioned_resources::builders::ListComponentProvisionedResourcesOutputBuilder
source · #[non_exhaustive]pub struct ListComponentProvisionedResourcesOutputBuilder { /* private fields */ }Expand description
A builder for ListComponentProvisionedResourcesOutput.
Implementations§
source§impl ListComponentProvisionedResourcesOutputBuilder
impl ListComponentProvisionedResourcesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the current requested list of provisioned resources.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the current requested list of provisioned resources.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates the location of the next provisioned resource in the array of provisioned resources, after the current requested list of provisioned resources.
sourcepub fn provisioned_resources(self, input: ProvisionedResource) -> Self
pub fn provisioned_resources(self, input: ProvisionedResource) -> Self
Appends an item to provisioned_resources.
To override the contents of this collection use set_provisioned_resources.
An array of provisioned resources for a component.
sourcepub fn set_provisioned_resources(
self,
input: Option<Vec<ProvisionedResource>>
) -> Self
pub fn set_provisioned_resources( self, input: Option<Vec<ProvisionedResource>> ) -> Self
An array of provisioned resources for a component.
sourcepub fn get_provisioned_resources(&self) -> &Option<Vec<ProvisionedResource>>
pub fn get_provisioned_resources(&self) -> &Option<Vec<ProvisionedResource>>
An array of provisioned resources for a component.
sourcepub fn build(
self
) -> Result<ListComponentProvisionedResourcesOutput, BuildError>
pub fn build( self ) -> Result<ListComponentProvisionedResourcesOutput, BuildError>
Consumes the builder and constructs a ListComponentProvisionedResourcesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListComponentProvisionedResourcesOutputBuilder
impl Clone for ListComponentProvisionedResourcesOutputBuilder
source§fn clone(&self) -> ListComponentProvisionedResourcesOutputBuilder
fn clone(&self) -> ListComponentProvisionedResourcesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListComponentProvisionedResourcesOutputBuilder
impl Default for ListComponentProvisionedResourcesOutputBuilder
source§fn default() -> ListComponentProvisionedResourcesOutputBuilder
fn default() -> ListComponentProvisionedResourcesOutputBuilder
source§impl PartialEq for ListComponentProvisionedResourcesOutputBuilder
impl PartialEq for ListComponentProvisionedResourcesOutputBuilder
source§fn eq(&self, other: &ListComponentProvisionedResourcesOutputBuilder) -> bool
fn eq(&self, other: &ListComponentProvisionedResourcesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.