#[non_exhaustive]pub struct ClusterLifeCycleConfigBuilder { /* private fields */ }
Expand description
A builder for ClusterLifeCycleConfig
.
Implementations§
source§impl ClusterLifeCycleConfigBuilder
impl ClusterLifeCycleConfigBuilder
sourcepub fn source_s3_uri(self, input: impl Into<String>) -> Self
pub fn source_s3_uri(self, input: impl Into<String>) -> Self
An Amazon S3 bucket path where your LifeCycle scripts are stored.
This field is required.sourcepub fn set_source_s3_uri(self, input: Option<String>) -> Self
pub fn set_source_s3_uri(self, input: Option<String>) -> Self
An Amazon S3 bucket path where your LifeCycle scripts are stored.
sourcepub fn get_source_s3_uri(&self) -> &Option<String>
pub fn get_source_s3_uri(&self) -> &Option<String>
An Amazon S3 bucket path where your LifeCycle scripts are stored.
sourcepub fn on_create(self, input: impl Into<String>) -> Self
pub fn on_create(self, input: impl Into<String>) -> Self
The directory of the LifeCycle script under SourceS3Uri
. This LifeCycle script runs during cluster creation.
sourcepub fn set_on_create(self, input: Option<String>) -> Self
pub fn set_on_create(self, input: Option<String>) -> Self
The directory of the LifeCycle script under SourceS3Uri
. This LifeCycle script runs during cluster creation.
sourcepub fn get_on_create(&self) -> &Option<String>
pub fn get_on_create(&self) -> &Option<String>
The directory of the LifeCycle script under SourceS3Uri
. This LifeCycle script runs during cluster creation.
sourcepub fn build(self) -> ClusterLifeCycleConfig
pub fn build(self) -> ClusterLifeCycleConfig
Consumes the builder and constructs a ClusterLifeCycleConfig
.
Trait Implementations§
source§impl Clone for ClusterLifeCycleConfigBuilder
impl Clone for ClusterLifeCycleConfigBuilder
source§fn clone(&self) -> ClusterLifeCycleConfigBuilder
fn clone(&self) -> ClusterLifeCycleConfigBuilder
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 Default for ClusterLifeCycleConfigBuilder
impl Default for ClusterLifeCycleConfigBuilder
source§fn default() -> ClusterLifeCycleConfigBuilder
fn default() -> ClusterLifeCycleConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ClusterLifeCycleConfigBuilder
impl PartialEq for ClusterLifeCycleConfigBuilder
source§fn eq(&self, other: &ClusterLifeCycleConfigBuilder) -> bool
fn eq(&self, other: &ClusterLifeCycleConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClusterLifeCycleConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ClusterLifeCycleConfigBuilder
impl Send for ClusterLifeCycleConfigBuilder
impl Sync for ClusterLifeCycleConfigBuilder
impl Unpin for ClusterLifeCycleConfigBuilder
impl UnwindSafe for ClusterLifeCycleConfigBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.