Class ServiceRevisionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ServiceRevisionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceRevisionSummary.Builder,ServiceRevisionSummary>
@Generated("software.amazon.awssdk:codegen") public final class ServiceRevisionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceRevisionSummary.Builder,ServiceRevisionSummary>
The information about the number of requested, pending, and running tasks for a service revision.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceRevisionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the service revision.static ServiceRevisionSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerpendingTaskCount()The number of pending tasks for the service revision.DoublerequestedProductionTrafficWeight()The percentage of production traffic that is directed to this service revision.IntegerrequestedTaskCount()The number of requested tasks for the service revision.DoublerequestedTestTrafficWeight()The percentage of test traffic that is directed to this service revision.IntegerrunningTaskCount()The number of running tasks for the service revision.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceRevisionSummary.Builder>serializableBuilderClass()ServiceRevisionSummary.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
-
arn
public final String arn()
The ARN of the service revision.
- Returns:
- The ARN of the service revision.
-
requestedTaskCount
public final Integer requestedTaskCount()
The number of requested tasks for the service revision.
- Returns:
- The number of requested tasks for the service revision.
-
runningTaskCount
public final Integer runningTaskCount()
The number of running tasks for the service revision.
- Returns:
- The number of running tasks for the service revision.
-
pendingTaskCount
public final Integer pendingTaskCount()
The number of pending tasks for the service revision.
- Returns:
- The number of pending tasks for the service revision.
-
requestedTestTrafficWeight
public final Double requestedTestTrafficWeight()
The percentage of test traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.
- Returns:
- The percentage of test traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.
-
requestedProductionTrafficWeight
public final Double requestedProductionTrafficWeight()
The percentage of production traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.
- Returns:
- The percentage of production traffic that is directed to this service revision. This value represents a snapshot of the traffic distribution and may not reflect real-time changes during active deployments. Valid values are 0.0 to 100.0.
-
toBuilder
public ServiceRevisionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceRevisionSummary.Builder,ServiceRevisionSummary>
-
builder
public static ServiceRevisionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceRevisionSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-