@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContinuousDeploymentSingleHeaderConfig extends Object implements Serializable, Cloneable
This configuration determines which HTTP requests are sent to the staging distribution. If the HTTP request contains a header and value that matches what you specify here, the request is sent to the staging distribution. Otherwise the request is sent to the primary distribution.
Constructor and Description |
---|
ContinuousDeploymentSingleHeaderConfig() |
Modifier and Type | Method and Description |
---|---|
ContinuousDeploymentSingleHeaderConfig |
clone() |
boolean |
equals(Object obj) |
String |
getHeader()
The request header name that you want CloudFront to send to your staging distribution.
|
String |
getValue()
The request header value.
|
int |
hashCode() |
void |
setHeader(String header)
The request header name that you want CloudFront to send to your staging distribution.
|
void |
setValue(String value)
The request header value.
|
String |
toString()
Returns a string representation of this object.
|
ContinuousDeploymentSingleHeaderConfig |
withHeader(String header)
The request header name that you want CloudFront to send to your staging distribution.
|
ContinuousDeploymentSingleHeaderConfig |
withValue(String value)
The request header value.
|
public ContinuousDeploymentSingleHeaderConfig()
public void setHeader(String header)
The request header name that you want CloudFront to send to your staging distribution.
header
- The request header name that you want CloudFront to send to your staging distribution.public String getHeader()
The request header name that you want CloudFront to send to your staging distribution.
public ContinuousDeploymentSingleHeaderConfig withHeader(String header)
The request header name that you want CloudFront to send to your staging distribution.
header
- The request header name that you want CloudFront to send to your staging distribution.public void setValue(String value)
The request header value.
value
- The request header value.public String getValue()
The request header value.
public ContinuousDeploymentSingleHeaderConfig withValue(String value)
The request header value.
value
- The request header value.public String toString()
toString
in class Object
Object.toString()
public ContinuousDeploymentSingleHeaderConfig clone()