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 ==
.