Class ContinuousDeploymentSingleWeightConfig
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.ContinuousDeploymentSingleWeightConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>
@Generated("software.amazon.awssdk:codegen") public final class ContinuousDeploymentSingleWeightConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>
Contains the percentage of traffic to send to a staging distribution.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ContinuousDeploymentSingleWeightConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContinuousDeploymentSingleWeightConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends ContinuousDeploymentSingleWeightConfig.Builder>
serializableBuilderClass()
SessionStickinessConfig
sessionStickinessConfig()
Returns the value of the SessionStickinessConfig property for this object.ContinuousDeploymentSingleWeightConfig.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Float
weight()
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
weight
public final Float weight()
The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.
- Returns:
- The percentage of traffic to send to a staging distribution, expressed as a decimal number between 0 and .15.
-
sessionStickinessConfig
public final SessionStickinessConfig sessionStickinessConfig()
Returns the value of the SessionStickinessConfig property for this object.- Returns:
- The value of the SessionStickinessConfig property for this object.
-
toBuilder
public ContinuousDeploymentSingleWeightConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ContinuousDeploymentSingleWeightConfig.Builder,ContinuousDeploymentSingleWeightConfig>
-
builder
public static ContinuousDeploymentSingleWeightConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContinuousDeploymentSingleWeightConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-