Struct aws_sdk_autoscaling::operation::delete_lifecycle_hook::builders::DeleteLifecycleHookInputBuilder
source · #[non_exhaustive]pub struct DeleteLifecycleHookInputBuilder { /* private fields */ }Expand description
A builder for DeleteLifecycleHookInput.
Implementations§
source§impl DeleteLifecycleHookInputBuilder
impl DeleteLifecycleHookInputBuilder
sourcepub fn lifecycle_hook_name(self, input: impl Into<String>) -> Self
pub fn lifecycle_hook_name(self, input: impl Into<String>) -> Self
The name of the lifecycle hook.
This field is required.sourcepub fn set_lifecycle_hook_name(self, input: Option<String>) -> Self
pub fn set_lifecycle_hook_name(self, input: Option<String>) -> Self
The name of the lifecycle hook.
sourcepub fn get_lifecycle_hook_name(&self) -> &Option<String>
pub fn get_lifecycle_hook_name(&self) -> &Option<String>
The name of the lifecycle hook.
sourcepub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
pub fn auto_scaling_group_name(self, input: impl Into<String>) -> Self
The name of the Auto Scaling group.
This field is required.sourcepub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
pub fn set_auto_scaling_group_name(self, input: Option<String>) -> Self
The name of the Auto Scaling group.
sourcepub fn get_auto_scaling_group_name(&self) -> &Option<String>
pub fn get_auto_scaling_group_name(&self) -> &Option<String>
The name of the Auto Scaling group.
sourcepub fn build(self) -> Result<DeleteLifecycleHookInput, BuildError>
pub fn build(self) -> Result<DeleteLifecycleHookInput, BuildError>
Consumes the builder and constructs a DeleteLifecycleHookInput.
source§impl DeleteLifecycleHookInputBuilder
impl DeleteLifecycleHookInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteLifecycleHookOutput, SdkError<DeleteLifecycleHookError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteLifecycleHookOutput, SdkError<DeleteLifecycleHookError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteLifecycleHookInputBuilder
impl Clone for DeleteLifecycleHookInputBuilder
source§fn clone(&self) -> DeleteLifecycleHookInputBuilder
fn clone(&self) -> DeleteLifecycleHookInputBuilder
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 DeleteLifecycleHookInputBuilder
impl Default for DeleteLifecycleHookInputBuilder
source§fn default() -> DeleteLifecycleHookInputBuilder
fn default() -> DeleteLifecycleHookInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteLifecycleHookInputBuilder
impl PartialEq for DeleteLifecycleHookInputBuilder
source§fn eq(&self, other: &DeleteLifecycleHookInputBuilder) -> bool
fn eq(&self, other: &DeleteLifecycleHookInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteLifecycleHookInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteLifecycleHookInputBuilder
impl Send for DeleteLifecycleHookInputBuilder
impl Sync for DeleteLifecycleHookInputBuilder
impl Unpin for DeleteLifecycleHookInputBuilder
impl UnwindSafe for DeleteLifecycleHookInputBuilder
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.