Struct aws_sdk_cloudfront::input::get_invalidation_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetInvalidationInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn distribution_id(self, input: impl Into<String>) -> Self
pub fn distribution_id(self, input: impl Into<String>) -> Self
The distribution's ID.
sourcepub fn set_distribution_id(self, input: Option<String>) -> Self
pub fn set_distribution_id(self, input: Option<String>) -> Self
The distribution's ID.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier for the invalidation request, for example, IDFDVBD632BHDS5
.
sourcepub fn build(self) -> Result<GetInvalidationInput, BuildError>
pub fn build(self) -> Result<GetInvalidationInput, BuildError>
Consumes the builder and constructs a GetInvalidationInput
.