@Generated(value="software.amazon.awssdk:codegen") public final class ContinuousDeploymentSingleHeaderConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContinuousDeploymentSingleHeaderConfig.Builder,ContinuousDeploymentSingleHeaderConfig>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContinuousDeploymentSingleHeaderConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ContinuousDeploymentSingleHeaderConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
header()
The request header name that you want CloudFront to send to your staging distribution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContinuousDeploymentSingleHeaderConfig.Builder> |
serializableBuilderClass() |
ContinuousDeploymentSingleHeaderConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The request header value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String header()
The request header name that you want CloudFront to send to your staging distribution. The header must contain
the prefix aws-cf-cd-.
aws-cf-cd-.public final String value()
The request header value.
public ContinuousDeploymentSingleHeaderConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ContinuousDeploymentSingleHeaderConfig.Builder,ContinuousDeploymentSingleHeaderConfig>public static ContinuousDeploymentSingleHeaderConfig.Builder builder()
public static Class<? extends ContinuousDeploymentSingleHeaderConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.