@Generated(value="software.amazon.awssdk:codegen") public class GreenFleetProvisioningOption extends Object implements StructuredPojo, ToCopyableBuilder<GreenFleetProvisioningOption.Builder,GreenFleetProvisioningOption>
Information about the instances that belong to the replacement environment in a blue/green deployment.
Modifier and Type | Class and Description |
---|---|
static interface |
GreenFleetProvisioningOption.Builder |
Modifier and Type | Method and Description |
---|---|
GreenFleetProvisioningAction |
action()
The method used to add instances to a replacement environment.
|
String |
actionString()
The method used to add instances to a replacement environment.
|
static GreenFleetProvisioningOption.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends GreenFleetProvisioningOption.Builder> |
serializableBuilderClass() |
GreenFleetProvisioningOption.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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, action
will
return GreenFleetProvisioningAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from actionString()
.
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.
GreenFleetProvisioningAction
public String actionString()
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, action
will
return GreenFleetProvisioningAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from actionString()
.
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.
GreenFleetProvisioningAction
public GreenFleetProvisioningOption.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GreenFleetProvisioningOption.Builder,GreenFleetProvisioningOption>
public static GreenFleetProvisioningOption.Builder builder()
public static Class<? extends GreenFleetProvisioningOption.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.