Struct aws_sdk_eventbridge::operation::create_api_destination::builders::CreateApiDestinationOutputBuilder
source · #[non_exhaustive]pub struct CreateApiDestinationOutputBuilder { /* private fields */ }
Expand description
A builder for CreateApiDestinationOutput
.
Implementations§
source§impl CreateApiDestinationOutputBuilder
impl CreateApiDestinationOutputBuilder
sourcepub fn api_destination_arn(self, input: impl Into<String>) -> Self
pub fn api_destination_arn(self, input: impl Into<String>) -> Self
The ARN of the API destination that was created by the request.
sourcepub fn set_api_destination_arn(self, input: Option<String>) -> Self
pub fn set_api_destination_arn(self, input: Option<String>) -> Self
The ARN of the API destination that was created by the request.
sourcepub fn get_api_destination_arn(&self) -> &Option<String>
pub fn get_api_destination_arn(&self) -> &Option<String>
The ARN of the API destination that was created by the request.
sourcepub fn api_destination_state(self, input: ApiDestinationState) -> Self
pub fn api_destination_state(self, input: ApiDestinationState) -> Self
The state of the API destination that was created by the request.
sourcepub fn set_api_destination_state(
self,
input: Option<ApiDestinationState>
) -> Self
pub fn set_api_destination_state( self, input: Option<ApiDestinationState> ) -> Self
The state of the API destination that was created by the request.
sourcepub fn get_api_destination_state(&self) -> &Option<ApiDestinationState>
pub fn get_api_destination_state(&self) -> &Option<ApiDestinationState>
The state of the API destination that was created by the request.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A time stamp indicating the time that the API destination was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A time stamp indicating the time that the API destination was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
A time stamp indicating the time that the API destination was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
A time stamp indicating the time that the API destination was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
A time stamp indicating the time that the API destination was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
A time stamp indicating the time that the API destination was last modified.
sourcepub fn build(self) -> CreateApiDestinationOutput
pub fn build(self) -> CreateApiDestinationOutput
Consumes the builder and constructs a CreateApiDestinationOutput
.
Trait Implementations§
source§impl Clone for CreateApiDestinationOutputBuilder
impl Clone for CreateApiDestinationOutputBuilder
source§fn clone(&self) -> CreateApiDestinationOutputBuilder
fn clone(&self) -> CreateApiDestinationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateApiDestinationOutputBuilder
impl Default for CreateApiDestinationOutputBuilder
source§fn default() -> CreateApiDestinationOutputBuilder
fn default() -> CreateApiDestinationOutputBuilder
source§impl PartialEq for CreateApiDestinationOutputBuilder
impl PartialEq for CreateApiDestinationOutputBuilder
source§fn eq(&self, other: &CreateApiDestinationOutputBuilder) -> bool
fn eq(&self, other: &CreateApiDestinationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateApiDestinationOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateApiDestinationOutputBuilder
impl RefUnwindSafe for CreateApiDestinationOutputBuilder
impl Send for CreateApiDestinationOutputBuilder
impl Sync for CreateApiDestinationOutputBuilder
impl Unpin for CreateApiDestinationOutputBuilder
impl UnwindSafe for CreateApiDestinationOutputBuilder
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