Struct aws_sdk_lightsail::operation::get_distributions::builders::GetDistributionsInputBuilder
source · #[non_exhaustive]pub struct GetDistributionsInputBuilder { /* private fields */ }
Expand description
A builder for GetDistributionsInput
.
Implementations§
source§impl GetDistributionsInputBuilder
impl GetDistributionsInputBuilder
sourcepub fn distribution_name(self, input: impl Into<String>) -> Self
pub fn distribution_name(self, input: impl Into<String>) -> Self
The name of the distribution for which to return information.
When omitted, the response includes all of your distributions in the Amazon Web Services Region where the request is made.
sourcepub fn set_distribution_name(self, input: Option<String>) -> Self
pub fn set_distribution_name(self, input: Option<String>) -> Self
The name of the distribution for which to return information.
When omitted, the response includes all of your distributions in the Amazon Web Services Region where the request is made.
sourcepub fn get_distribution_name(&self) -> &Option<String>
pub fn get_distribution_name(&self) -> &Option<String>
The name of the distribution for which to return information.
When omitted, the response includes all of your distributions in the Amazon Web Services Region where the request is made.
sourcepub fn page_token(self, input: impl Into<String>) -> Self
pub fn page_token(self, input: impl Into<String>) -> Self
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetDistributions
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
sourcepub fn set_page_token(self, input: Option<String>) -> Self
pub fn set_page_token(self, input: Option<String>) -> Self
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetDistributions
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
sourcepub fn get_page_token(&self) -> &Option<String>
pub fn get_page_token(&self) -> &Option<String>
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetDistributions
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
sourcepub fn build(self) -> Result<GetDistributionsInput, BuildError>
pub fn build(self) -> Result<GetDistributionsInput, BuildError>
Consumes the builder and constructs a GetDistributionsInput
.
source§impl GetDistributionsInputBuilder
impl GetDistributionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDistributionsOutput, SdkError<GetDistributionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDistributionsOutput, SdkError<GetDistributionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDistributionsInputBuilder
impl Clone for GetDistributionsInputBuilder
source§fn clone(&self) -> GetDistributionsInputBuilder
fn clone(&self) -> GetDistributionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDistributionsInputBuilder
impl Debug for GetDistributionsInputBuilder
source§impl Default for GetDistributionsInputBuilder
impl Default for GetDistributionsInputBuilder
source§fn default() -> GetDistributionsInputBuilder
fn default() -> GetDistributionsInputBuilder
source§impl PartialEq for GetDistributionsInputBuilder
impl PartialEq for GetDistributionsInputBuilder
source§fn eq(&self, other: &GetDistributionsInputBuilder) -> bool
fn eq(&self, other: &GetDistributionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDistributionsInputBuilder
Auto Trait Implementations§
impl Freeze for GetDistributionsInputBuilder
impl RefUnwindSafe for GetDistributionsInputBuilder
impl Send for GetDistributionsInputBuilder
impl Sync for GetDistributionsInputBuilder
impl Unpin for GetDistributionsInputBuilder
impl UnwindSafe for GetDistributionsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more