#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for Source
Implementations
sourceimpl Builder
impl Builder
sourcepub fn type(self, input: SourceType) -> Self
pub fn type(self, input: SourceType) -> Self
The repository type.
sourcepub fn set_type(self, input: Option<SourceType>) -> Self
pub fn set_type(self, input: Option<SourceType>) -> Self
The repository type.
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz
.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz
.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
This parameter depends on the repository type.
-
For Amazon S3 bundles, set
Username
to the appropriate IAM access key ID. -
For HTTP bundles, Git repositories, and Subversion repositories, set
Username
to the user name.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
This parameter depends on the repository type.
-
For Amazon S3 bundles, set
Username
to the appropriate IAM access key ID. -
For HTTP bundles, Git repositories, and Subversion repositories, set
Username
to the user name.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
When included in a request, the parameter depends on the repository type.
-
For Amazon S3 bundles, set
Password
to the appropriate IAM secret access key. -
For HTTP bundles and Subversion repositories, set
Password
to the password.
For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
When included in a request, the parameter depends on the repository type.
-
For Amazon S3 bundles, set
Password
to the appropriate IAM secret access key. -
For HTTP bundles and Subversion repositories, set
Password
to the password.
For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sourcepub fn ssh_key(self, input: impl Into<String>) -> Self
pub fn ssh_key(self, input: impl Into<String>) -> Self
In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sourcepub fn set_ssh_key(self, input: Option<String>) -> Self
pub fn set_ssh_key(self, input: Option<String>) -> Self
In requests, the repository's SSH key.
In responses, AWS OpsWorks Stacks returns *****FILTERED*****
instead of the actual value.
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The application's version. AWS OpsWorks Stacks enables you to easily deploy new versions of an application. One of the simplest approaches is to have branches or revisions in your repository that represent different versions that can potentially be deployed.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more