@Generated(value="software.amazon.awssdk:codegen") public final class CreateDeploymentStrategyResponse extends AppConfigResponse implements ToCopyableBuilder<CreateDeploymentStrategyResponse.Builder,CreateDeploymentStrategyResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateDeploymentStrategyResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateDeploymentStrategyResponse.Builder |
builder() |
Integer |
deploymentDurationInMinutes()
Total amount of time the deployment lasted.
|
String |
description()
The description of the deployment strategy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
Integer |
finalBakeTimeInMinutes()
The amount of time AppConfig monitored for alarms before considering the deployment to be complete and no longer
eligible for automatic roll back.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
Float |
growthFactor()
The percentage of targets that received a deployed configuration during each interval.
|
GrowthType |
growthType()
The algorithm used to define how percentage grew over time.
|
String |
growthTypeAsString()
The algorithm used to define how percentage grew over time.
|
int |
hashCode() |
String |
id()
The deployment strategy ID.
|
String |
name()
The name of the deployment strategy.
|
ReplicateTo |
replicateTo()
Save the deployment strategy to a Systems Manager (SSM) document.
|
String |
replicateToAsString()
Save the deployment strategy to a Systems Manager (SSM) document.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDeploymentStrategyResponse.Builder> |
serializableBuilderClass() |
CreateDeploymentStrategyResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
copy
public final String id()
The deployment strategy ID.
public final String name()
The name of the deployment strategy.
public final String description()
The description of the deployment strategy.
public final Integer deploymentDurationInMinutes()
Total amount of time the deployment lasted.
public final GrowthType growthType()
The algorithm used to define how percentage grew over time.
If the service returns an enum value that is not available in the current SDK version, growthType
will
return GrowthType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
growthTypeAsString()
.
GrowthType
public final String growthTypeAsString()
The algorithm used to define how percentage grew over time.
If the service returns an enum value that is not available in the current SDK version, growthType
will
return GrowthType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
growthTypeAsString()
.
GrowthType
public final Float growthFactor()
The percentage of targets that received a deployed configuration during each interval.
public final Integer finalBakeTimeInMinutes()
The amount of time AppConfig monitored for alarms before considering the deployment to be complete and no longer eligible for automatic roll back.
public final ReplicateTo replicateTo()
Save the deployment strategy to a Systems Manager (SSM) document.
If the service returns an enum value that is not available in the current SDK version, replicateTo
will
return ReplicateTo.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
replicateToAsString()
.
ReplicateTo
public final String replicateToAsString()
Save the deployment strategy to a Systems Manager (SSM) document.
If the service returns an enum value that is not available in the current SDK version, replicateTo
will
return ReplicateTo.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
replicateToAsString()
.
ReplicateTo
public CreateDeploymentStrategyResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateDeploymentStrategyResponse.Builder,CreateDeploymentStrategyResponse>
toBuilder
in class AwsResponse
public static CreateDeploymentStrategyResponse.Builder builder()
public static Class<? extends CreateDeploymentStrategyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.