Struct aws_sdk_eventbridge::model::connection::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Connection.
Implementations§
source§impl Builder
impl Builder
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 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 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.
The authorization type specified for the connection.
The authorization type specified for the connection.
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 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.
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.