@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentStyle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentStyle.Builder,DeploymentStyle>
Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer.
Modifier and Type | Class and Description |
---|---|
static interface |
DeploymentStyle.Builder |
Modifier and Type | Method and Description |
---|---|
static DeploymentStyle.Builder |
builder() |
DeploymentOption |
deploymentOption()
Indicates whether to route deployment traffic behind a load balancer.
|
String |
deploymentOptionAsString()
Indicates whether to route deployment traffic behind a load balancer.
|
DeploymentType |
deploymentType()
Indicates whether to run an in-place deployment or a blue/green deployment.
|
String |
deploymentTypeAsString()
Indicates whether to run an in-place deployment or a blue/green deployment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentStyle.Builder> |
serializableBuilderClass() |
DeploymentStyle.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public DeploymentType deploymentType()
Indicates whether to run an in-place deployment or a blue/green deployment.
If the service returns an enum value that is not available in the current SDK version, deploymentType
will return DeploymentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentTypeAsString()
.
DeploymentType
public String deploymentTypeAsString()
Indicates whether to run an in-place deployment or a blue/green deployment.
If the service returns an enum value that is not available in the current SDK version, deploymentType
will return DeploymentType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentTypeAsString()
.
DeploymentType
public DeploymentOption deploymentOption()
Indicates whether to route deployment traffic behind a load balancer.
If the service returns an enum value that is not available in the current SDK version, deploymentOption
will return DeploymentOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentOptionAsString()
.
DeploymentOption
public String deploymentOptionAsString()
Indicates whether to route deployment traffic behind a load balancer.
If the service returns an enum value that is not available in the current SDK version, deploymentOption
will return DeploymentOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentOptionAsString()
.
DeploymentOption
public DeploymentStyle.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeploymentStyle.Builder,DeploymentStyle>
public static DeploymentStyle.Builder builder()
public static Class<? extends DeploymentStyle.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.