@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeploymentSummary.Builder,DeploymentSummary>
Information about the deployment.
Modifier and Type | Class and Description |
---|---|
static interface |
DeploymentSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static DeploymentSummary.Builder |
builder() |
Instant |
completedAt()
Time the deployment completed.
|
String |
configurationName()
The name of the configuration.
|
String |
configurationVersion()
The version of the configuration.
|
Integer |
deploymentDurationInMinutes()
Total amount of time the deployment lasted.
|
Integer |
deploymentNumber()
The sequence number of the deployment.
|
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 monitors 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) |
Float |
growthFactor()
The percentage of targets to receive a deployed configuration during each interval.
|
GrowthType |
growthType()
The algorithm used to define how percentage grows over time.
|
String |
growthTypeAsString()
The algorithm used to define how percentage grows over time.
|
int |
hashCode() |
Float |
percentageComplete()
The percentage of targets for which the deployment is available.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentSummary.Builder> |
serializableBuilderClass() |
Instant |
startedAt()
Time the deployment started.
|
DeploymentState |
state()
The state of the deployment.
|
String |
stateAsString()
The state of the deployment.
|
DeploymentSummary.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.
|
copy
public final Integer deploymentNumber()
The sequence number of the deployment.
public final String configurationName()
The name of the configuration.
public final String configurationVersion()
The version of the configuration.
public final Integer deploymentDurationInMinutes()
Total amount of time the deployment lasted.
public final GrowthType growthType()
The algorithm used to define how percentage grows 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 grows 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 to receive a deployed configuration during each interval.
public final Integer finalBakeTimeInMinutes()
The amount of time AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back.
public final DeploymentState state()
The state of the deployment.
If the service returns an enum value that is not available in the current SDK version, state
will return
DeploymentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
DeploymentState
public final String stateAsString()
The state of the deployment.
If the service returns an enum value that is not available in the current SDK version, state
will return
DeploymentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
DeploymentState
public final Float percentageComplete()
The percentage of targets for which the deployment is available.
public final Instant startedAt()
Time the deployment started.
public final Instant completedAt()
Time the deployment completed.
public DeploymentSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeploymentSummary.Builder,DeploymentSummary>
public static DeploymentSummary.Builder builder()
public static Class<? extends DeploymentSummary.Builder> serializableBuilderClass()
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()