#[non_exhaustive]pub struct GetDeploymentsInputBuilder { /* private fields */ }
Expand description
A builder for GetDeploymentsInput
.
Implementations§
source§impl GetDeploymentsInputBuilder
impl GetDeploymentsInputBuilder
sourcepub fn rest_api_id(self, input: impl Into<String>) -> Self
pub fn rest_api_id(self, input: impl Into<String>) -> Self
The string identifier of the associated RestApi.
This field is required.sourcepub fn set_rest_api_id(self, input: Option<String>) -> Self
pub fn set_rest_api_id(self, input: Option<String>) -> Self
The string identifier of the associated RestApi.
sourcepub fn get_rest_api_id(&self) -> &Option<String>
pub fn get_rest_api_id(&self) -> &Option<String>
The string identifier of the associated RestApi.
sourcepub fn position(self, input: impl Into<String>) -> Self
pub fn position(self, input: impl Into<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn set_position(self, input: Option<String>) -> Self
pub fn set_position(self, input: Option<String>) -> Self
The current pagination position in the paged result set.
sourcepub fn get_position(&self) -> &Option<String>
pub fn get_position(&self) -> &Option<String>
The current pagination position in the paged result set.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
sourcepub fn build(self) -> Result<GetDeploymentsInput, BuildError>
pub fn build(self) -> Result<GetDeploymentsInput, BuildError>
Consumes the builder and constructs a GetDeploymentsInput
.
source§impl GetDeploymentsInputBuilder
impl GetDeploymentsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDeploymentsOutput, SdkError<GetDeploymentsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDeploymentsOutput, SdkError<GetDeploymentsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDeploymentsInputBuilder
impl Clone for GetDeploymentsInputBuilder
source§fn clone(&self) -> GetDeploymentsInputBuilder
fn clone(&self) -> GetDeploymentsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDeploymentsInputBuilder
impl Debug for GetDeploymentsInputBuilder
source§impl Default for GetDeploymentsInputBuilder
impl Default for GetDeploymentsInputBuilder
source§fn default() -> GetDeploymentsInputBuilder
fn default() -> GetDeploymentsInputBuilder
source§impl PartialEq for GetDeploymentsInputBuilder
impl PartialEq for GetDeploymentsInputBuilder
source§fn eq(&self, other: &GetDeploymentsInputBuilder) -> bool
fn eq(&self, other: &GetDeploymentsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.