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<UpdateEmergencyContactSettingsInputBuilder> for UpdateEmergencyContactSettingsInputBuilder
impl PartialEq<UpdateEmergencyContactSettingsInputBuilder> 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 ==
.