Struct aws_sdk_shield::operation::update_emergency_contact_settings::builders::UpdateEmergencyContactSettingsInputBuilder
source · #[non_exhaustive]pub struct UpdateEmergencyContactSettingsInputBuilder { /* private fields */ }
Expand description
A builder for UpdateEmergencyContactSettingsInput
.
Implementations§
source§impl UpdateEmergencyContactSettingsInputBuilder
impl UpdateEmergencyContactSettingsInputBuilder
sourcepub fn emergency_contact_list(self, input: EmergencyContact) -> Self
pub fn emergency_contact_list(self, input: EmergencyContact) -> Self
Appends an item to emergency_contact_list
.
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.
sourcepub fn build(self) -> Result<UpdateEmergencyContactSettingsInput, BuildError>
pub fn build(self) -> Result<UpdateEmergencyContactSettingsInput, BuildError>
Consumes the builder and constructs a UpdateEmergencyContactSettingsInput
.
source§impl UpdateEmergencyContactSettingsInputBuilder
impl UpdateEmergencyContactSettingsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateEmergencyContactSettingsOutput, SdkError<UpdateEmergencyContactSettingsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateEmergencyContactSettingsOutput, SdkError<UpdateEmergencyContactSettingsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateEmergencyContactSettingsInputBuilder
impl Clone for UpdateEmergencyContactSettingsInputBuilder
source§fn clone(&self) -> UpdateEmergencyContactSettingsInputBuilder
fn clone(&self) -> UpdateEmergencyContactSettingsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateEmergencyContactSettingsInputBuilder
impl Default for UpdateEmergencyContactSettingsInputBuilder
source§fn default() -> UpdateEmergencyContactSettingsInputBuilder
fn default() -> UpdateEmergencyContactSettingsInputBuilder
source§impl PartialEq for UpdateEmergencyContactSettingsInputBuilder
impl PartialEq for UpdateEmergencyContactSettingsInputBuilder
source§fn eq(&self, other: &UpdateEmergencyContactSettingsInputBuilder) -> bool
fn eq(&self, other: &UpdateEmergencyContactSettingsInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateEmergencyContactSettingsInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateEmergencyContactSettingsInputBuilder
impl RefUnwindSafe for UpdateEmergencyContactSettingsInputBuilder
impl Send for UpdateEmergencyContactSettingsInputBuilder
impl Sync for UpdateEmergencyContactSettingsInputBuilder
impl Unpin for UpdateEmergencyContactSettingsInputBuilder
impl UnwindSafe for UpdateEmergencyContactSettingsInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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