pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteOriginRequestPolicyInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use ListOriginRequestPolicies
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use ListOriginRequestPolicies
.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The version of the origin request policy that you are deleting. The version is the origin request policy’s ETag
value, which you can get using ListOriginRequestPolicies
, GetOriginRequestPolicy
, or GetOriginRequestPolicyConfig
.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The version of the origin request policy that you are deleting. The version is the origin request policy’s ETag
value, which you can get using ListOriginRequestPolicies
, GetOriginRequestPolicy
, or GetOriginRequestPolicyConfig
.
sourcepub fn build(self) -> Result<DeleteOriginRequestPolicyInput, BuildError>
pub fn build(self) -> Result<DeleteOriginRequestPolicyInput, BuildError>
Consumes the builder and constructs a DeleteOriginRequestPolicyInput
.