Class ServiceCurrentRevisionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ServiceCurrentRevisionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceCurrentRevisionSummary.Builder,ServiceCurrentRevisionSummary>
@Generated("software.amazon.awssdk:codegen") public final class ServiceCurrentRevisionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceCurrentRevisionSummary.Builder,ServiceCurrentRevisionSummary>
The summary of the current service revision configuration
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceCurrentRevisionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the current service revision.static ServiceCurrentRevisionSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerpendingTaskCount()The number of pending tasks in the current service revisionIntegerrequestedTaskCount()The number of requested tasks in the current service revisionIntegerrunningTaskCount()The number of running tasks of the current service revisionMap<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceCurrentRevisionSummary.Builder>serializableBuilderClass()ServiceCurrentRevisionSummary.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 current service revision.
- Returns:
- The ARN of the current service revision.
-
requestedTaskCount
public final Integer requestedTaskCount()
The number of requested tasks in the current service revision
- Returns:
- The number of requested tasks in the current service revision
-
runningTaskCount
public final Integer runningTaskCount()
The number of running tasks of the current service revision
- Returns:
- The number of running tasks of the current service revision
-
pendingTaskCount
public final Integer pendingTaskCount()
The number of pending tasks in the current service revision
- Returns:
- The number of pending tasks in the current service revision
-
toBuilder
public ServiceCurrentRevisionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceCurrentRevisionSummary.Builder,ServiceCurrentRevisionSummary>
-
builder
public static ServiceCurrentRevisionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceCurrentRevisionSummary.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
-
-