Class StackSummary
- java.lang.Object
-
- software.amazon.awssdk.services.opsworks.model.StackSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StackSummary.Builder,StackSummary>
@Generated("software.amazon.awssdk:codegen") public final class StackSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackSummary.Builder,StackSummary>
Summarizes the number of layers, instances, and apps in a stack.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStackSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerappsCount()The number of apps.Stringarn()The stack's ARN.static StackSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstancesCountinstancesCount()AnInstancesCountobject with the number of instances in each status.IntegerlayersCount()The number of layers.Stringname()The stack name.List<SdkField<?>>sdkFields()static Class<? extends StackSummary.Builder>serializableBuilderClass()StringstackId()The stack ID.StackSummary.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
-
stackId
public final String stackId()
The stack ID.
- Returns:
- The stack ID.
-
name
public final String name()
The stack name.
- Returns:
- The stack name.
-
arn
public final String arn()
The stack's ARN.
- Returns:
- The stack's ARN.
-
layersCount
public final Integer layersCount()
The number of layers.
- Returns:
- The number of layers.
-
appsCount
public final Integer appsCount()
The number of apps.
- Returns:
- The number of apps.
-
instancesCount
public final InstancesCount instancesCount()
An
InstancesCountobject with the number of instances in each status.- Returns:
- An
InstancesCountobject with the number of instances in each status.
-
toBuilder
public StackSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StackSummary.Builder,StackSummary>
-
builder
public static StackSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends StackSummary.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.
-
-