Struct aws_sdk_mediaconvert::operation::describe_endpoints::builders::DescribeEndpointsInputBuilder
source · #[non_exhaustive]pub struct DescribeEndpointsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeEndpointsInput
.
Implementations§
source§impl DescribeEndpointsInputBuilder
impl DescribeEndpointsInputBuilder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Optional. Max number of endpoints, up to twenty, that will be returned at one time.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Optional. Max number of endpoints, up to twenty, that will be returned at one time.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Optional. Max number of endpoints, up to twenty, that will be returned at one time.
sourcepub fn mode(self, input: DescribeEndpointsMode) -> Self
pub fn mode(self, input: DescribeEndpointsMode) -> Self
Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn’t already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.
sourcepub fn set_mode(self, input: Option<DescribeEndpointsMode>) -> Self
pub fn set_mode(self, input: Option<DescribeEndpointsMode>) -> Self
Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn’t already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.
sourcepub fn get_mode(&self) -> &Option<DescribeEndpointsMode>
pub fn get_mode(&self) -> &Option<DescribeEndpointsMode>
Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn’t already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Use this string, provided with the response to a previous request, to request the next batch of endpoints.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Use this string, provided with the response to a previous request, to request the next batch of endpoints.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Use this string, provided with the response to a previous request, to request the next batch of endpoints.
sourcepub fn build(self) -> Result<DescribeEndpointsInput, BuildError>
pub fn build(self) -> Result<DescribeEndpointsInput, BuildError>
Consumes the builder and constructs a DescribeEndpointsInput
.
source§impl DescribeEndpointsInputBuilder
impl DescribeEndpointsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeEndpointsOutput, SdkError<DescribeEndpointsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeEndpointsOutput, SdkError<DescribeEndpointsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeEndpointsInputBuilder
impl Clone for DescribeEndpointsInputBuilder
source§fn clone(&self) -> DescribeEndpointsInputBuilder
fn clone(&self) -> DescribeEndpointsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeEndpointsInputBuilder
impl Default for DescribeEndpointsInputBuilder
source§fn default() -> DescribeEndpointsInputBuilder
fn default() -> DescribeEndpointsInputBuilder
source§impl PartialEq for DescribeEndpointsInputBuilder
impl PartialEq for DescribeEndpointsInputBuilder
source§fn eq(&self, other: &DescribeEndpointsInputBuilder) -> bool
fn eq(&self, other: &DescribeEndpointsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeEndpointsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeEndpointsInputBuilder
impl RefUnwindSafe for DescribeEndpointsInputBuilder
impl Send for DescribeEndpointsInputBuilder
impl Sync for DescribeEndpointsInputBuilder
impl Unpin for DescribeEndpointsInputBuilder
impl UnwindSafe for DescribeEndpointsInputBuilder
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