Struct aws_sdk_apprunner::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_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The customer-provided connection name.
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The customer-provided connection name.
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of this connection.
sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of this connection.
sourcepub fn provider_type(self, input: ProviderType) -> Self
pub fn provider_type(self, input: ProviderType) -> Self
The source repository provider.
sourcepub fn set_provider_type(self, input: Option<ProviderType>) -> Self
pub fn set_provider_type(self, input: Option<ProviderType>) -> Self
The source repository provider.
sourcepub fn status(self, input: ConnectionStatus) -> Self
pub fn status(self, input: ConnectionStatus) -> Self
The current state of the App Runner connection. When the state is AVAILABLE
, you can use the connection to create an App Runner service.
sourcepub fn set_status(self, input: Option<ConnectionStatus>) -> Self
pub fn set_status(self, input: Option<ConnectionStatus>) -> Self
The current state of the App Runner connection. When the state is AVAILABLE
, you can use the connection to create an App Runner service.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The App Runner connection creation time, expressed as a Unix time stamp.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The App Runner connection creation time, expressed as a Unix time stamp.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<ConnectionBuilder> for ConnectionBuilder
impl PartialEq<ConnectionBuilder> for ConnectionBuilder
source§fn eq(&self, other: &ConnectionBuilder) -> bool
fn eq(&self, other: &ConnectionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionBuilder
impl Send for ConnectionBuilder
impl Sync for ConnectionBuilder
impl Unpin for ConnectionBuilder
impl UnwindSafe for ConnectionBuilder
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
Mutably borrows from an owned value. Read more