Class DeploymentStyle
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.DeploymentStyle
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentStyle.Builder,DeploymentStyle>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentStyle.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeploymentStyle.Builderbuilder()DeploymentOptiondeploymentOption()Indicates whether to route deployment traffic behind a load balancer.StringdeploymentOptionAsString()Indicates whether to route deployment traffic behind a load balancer.DeploymentTypedeploymentType()Indicates whether to run an in-place deployment or a blue/green deployment.StringdeploymentTypeAsString()Indicates whether to run an in-place deployment or a blue/green deployment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeploymentStyle.Builder>serializableBuilderClass()DeploymentStyle.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
deploymentType
public final 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,
deploymentTypewill returnDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- Indicates whether to run an in-place deployment or a blue/green deployment.
- See Also:
DeploymentType
-
deploymentTypeAsString
public final 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,
deploymentTypewill returnDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- Indicates whether to run an in-place deployment or a blue/green deployment.
- See Also:
DeploymentType
-
deploymentOption
public final 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,
deploymentOptionwill returnDeploymentOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentOptionAsString().- Returns:
- Indicates whether to route deployment traffic behind a load balancer.
- See Also:
DeploymentOption
-
deploymentOptionAsString
public final 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,
deploymentOptionwill returnDeploymentOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentOptionAsString().- Returns:
- Indicates whether to route deployment traffic behind a load balancer.
- See Also:
DeploymentOption
-
toBuilder
public DeploymentStyle.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentStyle.Builder,DeploymentStyle>
-
builder
public static DeploymentStyle.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentStyle.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-