Struct aws_sdk_cloudfront::model::response_headers_policy_access_control_allow_methods::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ResponseHeadersPolicyAccessControlAllowMethods
Implementations
The number of HTTP methods in the list.
pub fn items(
self,
input: impl Into<ResponseHeadersPolicyAccessControlAllowMethodsValues>
) -> Self
pub fn items(
self,
input: impl Into<ResponseHeadersPolicyAccessControlAllowMethodsValues>
) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The list of HTTP methods. Valid values are:
-
GET
-
DELETE
-
HEAD
-
OPTIONS
-
PATCH
-
POST
-
PUT
-
ALL
ALL
is a special value that includes all of the listed HTTP
methods.
pub fn set_items(
self,
input: Option<Vec<ResponseHeadersPolicyAccessControlAllowMethodsValues>>
) -> Self
pub fn set_items(
self,
input: Option<Vec<ResponseHeadersPolicyAccessControlAllowMethodsValues>>
) -> Self
The list of HTTP methods. Valid values are:
-
GET
-
DELETE
-
HEAD
-
OPTIONS
-
PATCH
-
POST
-
PUT
-
ALL
ALL
is a special value that includes all of the listed HTTP
methods.
Consumes the builder and constructs a ResponseHeadersPolicyAccessControlAllowMethods
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