Struct aws_sdk_eventbridge::types::builders::ConnectionBuilder
source · #[non_exhaustive]pub struct ConnectionBuilder { /* private fields */ }Expand description
A builder for Connection.
Implementations§
source§impl ConnectionBuilder
impl ConnectionBuilder
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.
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.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
The ARN of the connection.
sourcepub fn connection_state(self, input: ConnectionState) -> Self
pub fn connection_state(self, input: ConnectionState) -> Self
The state of the connection.
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.
sourcepub fn get_connection_state(&self) -> &Option<ConnectionState>
pub fn get_connection_state(&self) -> &Option<ConnectionState>
The state of the connection.
sourcepub fn state_reason(self, input: impl Into<String>) -> Self
pub fn state_reason(self, input: impl Into<String>) -> Self
The reason that the connection is in the connection state.
sourcepub fn set_state_reason(self, input: Option<String>) -> Self
pub fn set_state_reason(self, input: Option<String>) -> Self
The reason that the connection is in the connection state.
sourcepub fn get_state_reason(&self) -> &Option<String>
pub fn get_state_reason(&self) -> &Option<String>
The reason that the connection is in the connection state.
The authorization type specified for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
The authorization type specified for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
The authorization type specified for the connection.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
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 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 for the time that the connection was last modified.
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 modified.
A time stamp for the time that the connection was last authorized.
A time stamp for the time that the connection was last authorized.
A time stamp for the time that the connection was last authorized.
sourcepub fn build(self) -> Connection
pub fn build(self) -> Connection
Consumes the builder and constructs a Connection.
Trait Implementations§
source§impl Clone for ConnectionBuilder
impl Clone for ConnectionBuilder
source§fn clone(&self) -> ConnectionBuilder
fn clone(&self) -> ConnectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConnectionBuilder
impl Debug for ConnectionBuilder
source§impl Default for ConnectionBuilder
impl Default for ConnectionBuilder
source§fn default() -> ConnectionBuilder
fn default() -> ConnectionBuilder
source§impl PartialEq for ConnectionBuilder
impl PartialEq for ConnectionBuilder
source§fn eq(&self, other: &ConnectionBuilder) -> bool
fn eq(&self, other: &ConnectionBuilder) -> bool
self and other values to be equal, and is used
by ==.