Struct aws_sdk_shield::types::builders::ApplicationLayerAutomaticResponseConfigurationBuilder
source · #[non_exhaustive]pub struct ApplicationLayerAutomaticResponseConfigurationBuilder { /* private fields */ }
Expand description
A builder for ApplicationLayerAutomaticResponseConfiguration
.
Implementations§
source§impl ApplicationLayerAutomaticResponseConfigurationBuilder
impl ApplicationLayerAutomaticResponseConfigurationBuilder
sourcepub fn status(self, input: ApplicationLayerAutomaticResponseStatus) -> Self
pub fn status(self, input: ApplicationLayerAutomaticResponseStatus) -> Self
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
This field is required.sourcepub fn set_status(
self,
input: Option<ApplicationLayerAutomaticResponseStatus>
) -> Self
pub fn set_status( self, input: Option<ApplicationLayerAutomaticResponseStatus> ) -> Self
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
sourcepub fn get_status(&self) -> &Option<ApplicationLayerAutomaticResponseStatus>
pub fn get_status(&self) -> &Option<ApplicationLayerAutomaticResponseStatus>
Indicates whether automatic application layer DDoS mitigation is enabled for the protection.
sourcepub fn action(self, input: ResponseAction) -> Self
pub fn action(self, input: ResponseAction) -> Self
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
This field is required.sourcepub fn set_action(self, input: Option<ResponseAction>) -> Self
pub fn set_action(self, input: Option<ResponseAction>) -> Self
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
sourcepub fn get_action(&self) -> &Option<ResponseAction>
pub fn get_action(&self) -> &Option<ResponseAction>
Specifies the action setting that Shield Advanced should use in the WAF rules that it creates on behalf of the protected resource in response to DDoS attacks. You specify this as part of the configuration for the automatic application layer DDoS mitigation feature, when you enable or update automatic mitigation. Shield Advanced creates the WAF rules in a Shield Advanced-managed rule group, inside the web ACL that you have associated with the resource.
sourcepub fn build(
self
) -> Result<ApplicationLayerAutomaticResponseConfiguration, BuildError>
pub fn build( self ) -> Result<ApplicationLayerAutomaticResponseConfiguration, BuildError>
Consumes the builder and constructs a ApplicationLayerAutomaticResponseConfiguration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ApplicationLayerAutomaticResponseConfigurationBuilder
impl Clone for ApplicationLayerAutomaticResponseConfigurationBuilder
source§fn clone(&self) -> ApplicationLayerAutomaticResponseConfigurationBuilder
fn clone(&self) -> ApplicationLayerAutomaticResponseConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ApplicationLayerAutomaticResponseConfigurationBuilder
impl Default for ApplicationLayerAutomaticResponseConfigurationBuilder
source§fn default() -> ApplicationLayerAutomaticResponseConfigurationBuilder
fn default() -> ApplicationLayerAutomaticResponseConfigurationBuilder
source§impl PartialEq for ApplicationLayerAutomaticResponseConfigurationBuilder
impl PartialEq for ApplicationLayerAutomaticResponseConfigurationBuilder
source§fn eq(
&self,
other: &ApplicationLayerAutomaticResponseConfigurationBuilder
) -> bool
fn eq( &self, other: &ApplicationLayerAutomaticResponseConfigurationBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.