pub struct ListDeploymentsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListDeployments
.
List deployments. You can filter the result list by environment, service, or a single service instance.
Implementations§
source§impl ListDeploymentsFluentBuilder
impl ListDeploymentsFluentBuilder
sourcepub fn as_input(&self) -> &ListDeploymentsInputBuilder
pub fn as_input(&self) -> &ListDeploymentsInputBuilder
Access the ListDeployments as a reference.
sourcepub async fn send(
self
) -> Result<ListDeploymentsOutput, SdkError<ListDeploymentsError, HttpResponse>>
pub async fn send( self ) -> Result<ListDeploymentsOutput, SdkError<ListDeploymentsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListDeploymentsOutput, ListDeploymentsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListDeploymentsOutput, ListDeploymentsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListDeploymentsPaginator
pub fn into_paginator(self) -> ListDeploymentsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
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 deployment in the array of deployment, after the list of deployment that was previously requested.
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 deployment in the array of deployment, after the list of deployment that was previously requested.
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 deployment in the array of deployment, after the list of deployment that was previously requested.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of an environment for result list filtering. Proton returns deployments associated with the environment.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of an environment for result list filtering. Proton returns deployments associated with the environment.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of an environment for result list filtering. Proton returns deployments associated with the environment.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of a service for result list filtering. Proton returns deployments associated with service instances of the service.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of a service for result list filtering. Proton returns deployments associated with service instances of the service.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of a service for result list filtering. Proton returns deployments associated with service instances of the service.
sourcepub fn service_instance_name(self, input: impl Into<String>) -> Self
pub fn service_instance_name(self, input: impl Into<String>) -> Self
The name of a service instance for result list filtering. Proton returns the deployments associated with the service instance.
sourcepub fn set_service_instance_name(self, input: Option<String>) -> Self
pub fn set_service_instance_name(self, input: Option<String>) -> Self
The name of a service instance for result list filtering. Proton returns the deployments associated with the service instance.
sourcepub fn get_service_instance_name(&self) -> &Option<String>
pub fn get_service_instance_name(&self) -> &Option<String>
The name of a service instance for result list filtering. Proton returns the deployments associated with the service instance.
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of a component for result list filtering. Proton returns deployments associated with that component.
sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of a component for result list filtering. Proton returns deployments associated with that component.
sourcepub fn get_component_name(&self) -> &Option<String>
pub fn get_component_name(&self) -> &Option<String>
The name of a component for result list filtering. Proton returns deployments associated with that component.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of deployments to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of deployments to list.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of deployments to list.
Trait Implementations§
source§impl Clone for ListDeploymentsFluentBuilder
impl Clone for ListDeploymentsFluentBuilder
source§fn clone(&self) -> ListDeploymentsFluentBuilder
fn clone(&self) -> ListDeploymentsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more