Struct aws_sdk_cloudfront::operation::list_invalidations::builders::ListInvalidationsInputBuilder
source · #[non_exhaustive]pub struct ListInvalidationsInputBuilder { /* private fields */ }
Expand description
A builder for ListInvalidationsInput
.
Implementations§
source§impl ListInvalidationsInputBuilder
impl ListInvalidationsInputBuilder
sourcepub fn distribution_id(self, input: impl Into<String>) -> Self
pub fn distribution_id(self, input: impl Into<String>) -> Self
The distribution's ID.
This field is required.sourcepub fn set_distribution_id(self, input: Option<String>) -> Self
pub fn set_distribution_id(self, input: Option<String>) -> Self
The distribution's ID.
sourcepub fn get_distribution_id(&self) -> &Option<String>
pub fn get_distribution_id(&self) -> &Option<String>
The distribution's ID.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker
to the value of the NextMarker
from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker
to the value of the NextMarker
from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker
to the value of the NextMarker
from the current page's response. This value is the same as the ID of the last invalidation batch on that page.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The maximum number of invalidation batches that you want in the response body.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The maximum number of invalidation batches that you want in the response body.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The maximum number of invalidation batches that you want in the response body.
sourcepub fn build(self) -> Result<ListInvalidationsInput, BuildError>
pub fn build(self) -> Result<ListInvalidationsInput, BuildError>
Consumes the builder and constructs a ListInvalidationsInput
.
source§impl ListInvalidationsInputBuilder
impl ListInvalidationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListInvalidationsOutput, SdkError<ListInvalidationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListInvalidationsOutput, SdkError<ListInvalidationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListInvalidationsInputBuilder
impl Clone for ListInvalidationsInputBuilder
source§fn clone(&self) -> ListInvalidationsInputBuilder
fn clone(&self) -> ListInvalidationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListInvalidationsInputBuilder
impl Default for ListInvalidationsInputBuilder
source§fn default() -> ListInvalidationsInputBuilder
fn default() -> ListInvalidationsInputBuilder
source§impl PartialEq for ListInvalidationsInputBuilder
impl PartialEq for ListInvalidationsInputBuilder
source§fn eq(&self, other: &ListInvalidationsInputBuilder) -> bool
fn eq(&self, other: &ListInvalidationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListInvalidationsInputBuilder
Auto Trait Implementations§
impl Freeze for ListInvalidationsInputBuilder
impl RefUnwindSafe for ListInvalidationsInputBuilder
impl Send for ListInvalidationsInputBuilder
impl Sync for ListInvalidationsInputBuilder
impl Unpin for ListInvalidationsInputBuilder
impl UnwindSafe for ListInvalidationsInputBuilder
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