Class DeploymentSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DeploymentSummary.Builder,
DeploymentSummary>
Information about the deployment.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeploymentSummary.Builder
builder()
final Instant
Time the deployment completed.final String
The name of the configuration.final String
The version of the configuration.final Integer
Total amount of time the deployment lasted.final Integer
The sequence number of the deployment.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Integer
The amount of time that AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final Float
The percentage of targets to receive a deployed configuration during each interval.final GrowthType
The algorithm used to define how percentage grows over time.final String
The algorithm used to define how percentage grows over time.final int
hashCode()
final Float
The percentage of targets for which the deployment is available.static Class
<? extends DeploymentSummary.Builder> final Instant
Time the deployment started.final DeploymentState
state()
The state of the deployment.final String
The state of the deployment.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
A user-defined label for an AppConfig hosted configuration version.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
deploymentNumber
The sequence number of the deployment.
- Returns:
- The sequence number of the deployment.
-
configurationName
The name of the configuration.
- Returns:
- The name of the configuration.
-
configurationVersion
The version of the configuration.
- Returns:
- The version of the configuration.
-
deploymentDurationInMinutes
Total amount of time the deployment lasted.
- Returns:
- Total amount of time the deployment lasted.
-
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 returnGrowthType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromgrowthTypeAsString()
.- Returns:
- The algorithm used to define how percentage grows over time.
- See Also:
-
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 returnGrowthType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromgrowthTypeAsString()
.- Returns:
- The algorithm used to define how percentage grows over time.
- See Also:
-
growthFactor
The percentage of targets to receive a deployed configuration during each interval.
- Returns:
- The percentage of targets to receive a deployed configuration during each interval.
-
finalBakeTimeInMinutes
The amount of time that AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.
- Returns:
- The amount of time that AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic rollback.
-
state
The state of the deployment.
If the service returns an enum value that is not available in the current SDK version,
state
will returnDeploymentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the deployment.
- See Also:
-
stateAsString
The state of the deployment.
If the service returns an enum value that is not available in the current SDK version,
state
will returnDeploymentState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the deployment.
- See Also:
-
percentageComplete
The percentage of targets for which the deployment is available.
- Returns:
- The percentage of targets for which the deployment is available.
-
startedAt
-
completedAt
Time the deployment completed.
- Returns:
- Time the deployment completed.
-
versionLabel
A user-defined label for an AppConfig hosted configuration version.
- Returns:
- A user-defined label for an AppConfig hosted configuration version.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<DeploymentSummary.Builder,
DeploymentSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-