Struct aws_sdk_securityhub::model::aws_cors_configuration::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for AwsCorsConfiguration
Implementations
Appends an item to allow_origins
.
To override the contents of this collection use set_allow_origins
.
The allowed origins for CORS requests.
The allowed origins for CORS requests.
Indicates whether the CORS request includes credentials.
Indicates whether the CORS request includes credentials.
Appends an item to expose_headers
.
To override the contents of this collection use set_expose_headers
.
The exposed headers for CORS requests.
The exposed headers for CORS requests.
The number of seconds for which the browser caches preflight request results.
The number of seconds for which the browser caches preflight request results.
Appends an item to allow_methods
.
To override the contents of this collection use set_allow_methods
.
The allowed methods for CORS requests.
The allowed methods for CORS requests.
Appends an item to allow_headers
.
To override the contents of this collection use set_allow_headers
.
The allowed headers for CORS requests.
The allowed headers for CORS requests.
Consumes the builder and constructs a AwsCorsConfiguration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more