Struct aws_sdk_shield::operation::update_emergency_contact_settings::builders::UpdateEmergencyContactSettingsFluentBuilder
source · pub struct UpdateEmergencyContactSettingsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateEmergencyContactSettings.
Updates the details of the list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
Implementations§
source§impl UpdateEmergencyContactSettingsFluentBuilder
impl UpdateEmergencyContactSettingsFluentBuilder
sourcepub fn as_input(&self) -> &UpdateEmergencyContactSettingsInputBuilder
pub fn as_input(&self) -> &UpdateEmergencyContactSettingsInputBuilder
Access the UpdateEmergencyContactSettings as a reference.
sourcepub async fn send(
self
) -> Result<UpdateEmergencyContactSettingsOutput, SdkError<UpdateEmergencyContactSettingsError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateEmergencyContactSettingsOutput, SdkError<UpdateEmergencyContactSettingsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateEmergencyContactSettingsOutput, UpdateEmergencyContactSettingsError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateEmergencyContactSettingsOutput, UpdateEmergencyContactSettingsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn emergency_contact_list(self, input: EmergencyContact) -> Self
pub fn emergency_contact_list(self, input: EmergencyContact) -> Self
Appends an item to EmergencyContactList.
To override the contents of this collection use set_emergency_contact_list.
A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
If you have proactive engagement enabled, the contact list must include at least one phone number.
sourcepub fn set_emergency_contact_list(
self,
input: Option<Vec<EmergencyContact>>
) -> Self
pub fn set_emergency_contact_list( self, input: Option<Vec<EmergencyContact>> ) -> Self
A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
If you have proactive engagement enabled, the contact list must include at least one phone number.
sourcepub fn get_emergency_contact_list(&self) -> &Option<Vec<EmergencyContact>>
pub fn get_emergency_contact_list(&self) -> &Option<Vec<EmergencyContact>>
A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
If you have proactive engagement enabled, the contact list must include at least one phone number.
Trait Implementations§
source§impl Clone for UpdateEmergencyContactSettingsFluentBuilder
impl Clone for UpdateEmergencyContactSettingsFluentBuilder
source§fn clone(&self) -> UpdateEmergencyContactSettingsFluentBuilder
fn clone(&self) -> UpdateEmergencyContactSettingsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateEmergencyContactSettingsFluentBuilder
impl !RefUnwindSafe for UpdateEmergencyContactSettingsFluentBuilder
impl Send for UpdateEmergencyContactSettingsFluentBuilder
impl Sync for UpdateEmergencyContactSettingsFluentBuilder
impl Unpin for UpdateEmergencyContactSettingsFluentBuilder
impl !UnwindSafe for UpdateEmergencyContactSettingsFluentBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more