Struct aws_sdk_eventbridge::operation::create_connection::builders::CreateConnectionOutputBuilder
source · #[non_exhaustive]pub struct CreateConnectionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateConnectionOutput
.
Implementations§
source§impl CreateConnectionOutputBuilder
impl CreateConnectionOutputBuilder
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
The ARN of the connection that was created by the request.
sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
The ARN of the connection that was created by the request.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
The ARN of the connection that was created by the request.
sourcepub fn connection_state(self, input: ConnectionState) -> Self
pub fn connection_state(self, input: ConnectionState) -> Self
The state of the connection that was created by the request.
sourcepub fn set_connection_state(self, input: Option<ConnectionState>) -> Self
pub fn set_connection_state(self, input: Option<ConnectionState>) -> Self
The state of the connection that was created by the request.
sourcepub fn get_connection_state(&self) -> &Option<ConnectionState>
pub fn get_connection_state(&self) -> &Option<ConnectionState>
The state of the connection 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 for the time that the connection 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 for the time that the connection was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
A time stamp for the time that the connection was created.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
A time stamp for the time that the connection was last updated.
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 for the time that the connection was last updated.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
A time stamp for the time that the connection was last updated.
sourcepub fn build(self) -> CreateConnectionOutput
pub fn build(self) -> CreateConnectionOutput
Consumes the builder and constructs a CreateConnectionOutput
.
Trait Implementations§
source§impl Clone for CreateConnectionOutputBuilder
impl Clone for CreateConnectionOutputBuilder
source§fn clone(&self) -> CreateConnectionOutputBuilder
fn clone(&self) -> CreateConnectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateConnectionOutputBuilder
impl Default for CreateConnectionOutputBuilder
source§fn default() -> CreateConnectionOutputBuilder
fn default() -> CreateConnectionOutputBuilder
source§impl PartialEq for CreateConnectionOutputBuilder
impl PartialEq for CreateConnectionOutputBuilder
source§fn eq(&self, other: &CreateConnectionOutputBuilder) -> bool
fn eq(&self, other: &CreateConnectionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.