Class ServiceRevisionSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceRevisionSummary.Builder,ServiceRevisionSummary>
The information about the number of requested, pending, and running tasks for a service revision.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The ARN of the service revision.builder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of pending tasks for the service revision.final DoubleThe percentage of production traffic that is directed to this service revision.final IntegerThe number of requested tasks for the service revision.final DoubleThe percentage of test traffic that is directed to this service revision.final IntegerThe number of running tasks for the service revision.static Class<? extends ServiceRevisionSummary.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The ARN of the service revision.
- Returns:
- The ARN of the service revision.
-
requestedTaskCount
The number of requested tasks for the service revision.
- Returns:
- The number of requested tasks for the service revision.
-
runningTaskCount
The number of running tasks for the service revision.
- Returns:
- The number of running tasks for the service revision.
-
pendingTaskCount
The number of pending tasks for the service revision.
- Returns:
- The number of pending tasks for the service revision.
-
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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceRevisionSummary.Builder,ServiceRevisionSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-