#[non_exhaustive]pub struct ContinuousDeploymentSingleHeaderConfigBuilder { /* private fields */ }
Expand description
A builder for ContinuousDeploymentSingleHeaderConfig
.
Implementations§
source§impl ContinuousDeploymentSingleHeaderConfigBuilder
impl ContinuousDeploymentSingleHeaderConfigBuilder
sourcepub fn header(self, input: impl Into<String>) -> Self
pub fn header(self, input: impl Into<String>) -> Self
The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix aws-cf-cd-
.
sourcepub fn set_header(self, input: Option<String>) -> Self
pub fn set_header(self, input: Option<String>) -> Self
The request header name that you want CloudFront to send to your staging distribution. The header must contain the prefix aws-cf-cd-
.
sourcepub fn build(self) -> ContinuousDeploymentSingleHeaderConfig
pub fn build(self) -> ContinuousDeploymentSingleHeaderConfig
Consumes the builder and constructs a ContinuousDeploymentSingleHeaderConfig
.
Trait Implementations§
source§impl Clone for ContinuousDeploymentSingleHeaderConfigBuilder
impl Clone for ContinuousDeploymentSingleHeaderConfigBuilder
source§fn clone(&self) -> ContinuousDeploymentSingleHeaderConfigBuilder
fn clone(&self) -> ContinuousDeploymentSingleHeaderConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ContinuousDeploymentSingleHeaderConfigBuilder
impl Default for ContinuousDeploymentSingleHeaderConfigBuilder
source§fn default() -> ContinuousDeploymentSingleHeaderConfigBuilder
fn default() -> ContinuousDeploymentSingleHeaderConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ContinuousDeploymentSingleHeaderConfigBuilder> for ContinuousDeploymentSingleHeaderConfigBuilder
impl PartialEq<ContinuousDeploymentSingleHeaderConfigBuilder> for ContinuousDeploymentSingleHeaderConfigBuilder
source§fn eq(&self, other: &ContinuousDeploymentSingleHeaderConfigBuilder) -> bool
fn eq(&self, other: &ContinuousDeploymentSingleHeaderConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.