Class GreenFleetProvisioningOption
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.GreenFleetProvisioningOption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GreenFleetProvisioningOption.Builder,GreenFleetProvisioningOption>
@Generated("software.amazon.awssdk:codegen") public final class GreenFleetProvisioningOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GreenFleetProvisioningOption.Builder,GreenFleetProvisioningOption>
Information about the instances that belong to the replacement environment in a blue/green deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGreenFleetProvisioningOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GreenFleetProvisioningActionaction()The method used to add instances to a replacement environment.StringactionAsString()The method used to add instances to a replacement environment.static GreenFleetProvisioningOption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GreenFleetProvisioningOption.Builder>serializableBuilderClass()GreenFleetProvisioningOption.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
-
action
public final GreenFleetProvisioningAction action()
The method used to add instances to a replacement environment.
-
DISCOVER_EXISTING: Use instances that already exist or will be created manually. -
COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnGreenFleetProvisioningAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The method used to add instances to a replacement environment.
-
DISCOVER_EXISTING: Use instances that already exist or will be created manually. -
COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
-
- See Also:
GreenFleetProvisioningAction
-
-
actionAsString
public final String actionAsString()
The method used to add instances to a replacement environment.
-
DISCOVER_EXISTING: Use instances that already exist or will be created manually. -
COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnGreenFleetProvisioningAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The method used to add instances to a replacement environment.
-
DISCOVER_EXISTING: Use instances that already exist or will be created manually. -
COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.
-
- See Also:
GreenFleetProvisioningAction
-
-
toBuilder
public GreenFleetProvisioningOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GreenFleetProvisioningOption.Builder,GreenFleetProvisioningOption>
-
builder
public static GreenFleetProvisioningOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends GreenFleetProvisioningOption.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.
-
-