Struct aws_sdk_cloudfront::model::status_codes::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for StatusCodes
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The number of status codes.
sourcepub fn items(self, input: i32) -> Self
pub fn items(self, input: i32) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The items (status codes) for an origin group.
sourcepub fn set_items(self, input: Option<Vec<i32>>) -> Self
pub fn set_items(self, input: Option<Vec<i32>>) -> Self
The items (status codes) for an origin group.
sourcepub fn build(self) -> StatusCodes
pub fn build(self) -> StatusCodes
Consumes the builder and constructs a StatusCodes
.