Class AutoScalingConfigurationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.model.AutoScalingConfigurationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoScalingConfigurationSummary.Builder,AutoScalingConfigurationSummary>
@Generated("software.amazon.awssdk:codegen") public final class AutoScalingConfigurationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoScalingConfigurationSummary.Builder,AutoScalingConfigurationSummary>
Provides summary information about an App Runner automatic scaling configuration resource.
This type contains limited information about an auto scaling configuration. It includes only identification information, without configuration details. It's returned by the ListAutoScalingConfigurations action. Complete configuration information is returned by the CreateAutoScalingConfiguration, DescribeAutoScalingConfiguration, and DeleteAutoScalingConfiguration actions using the AutoScalingConfiguration type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutoScalingConfigurationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringautoScalingConfigurationArn()The Amazon Resource Name (ARN) of this auto scaling configuration.StringautoScalingConfigurationName()The customer-provided auto scaling configuration name.IntegerautoScalingConfigurationRevision()The revision of this auto scaling configuration.static AutoScalingConfigurationSummary.Builderbuilder()InstantcreatedAt()The time when the auto scaling configuration was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)BooleanhasAssociatedService()Indicates if this auto scaling configuration has an App Runner service associated with it.inthashCode()BooleanisDefault()Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation.List<SdkField<?>>sdkFields()static Class<? extends AutoScalingConfigurationSummary.Builder>serializableBuilderClass()AutoScalingConfigurationStatusstatus()The current state of the auto scaling configuration.StringstatusAsString()The current state of the auto scaling configuration.AutoScalingConfigurationSummary.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
-
autoScalingConfigurationArn
public final String autoScalingConfigurationArn()
The Amazon Resource Name (ARN) of this auto scaling configuration.
- Returns:
- The Amazon Resource Name (ARN) of this auto scaling configuration.
-
autoScalingConfigurationName
public final String autoScalingConfigurationName()
The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
- Returns:
- The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
-
autoScalingConfigurationRevision
public final Integer autoScalingConfigurationRevision()
The revision of this auto scaling configuration. It's unique among all the active configurations (
"Status": "ACTIVE") with the sameAutoScalingConfigurationName.- Returns:
- The revision of this auto scaling configuration. It's unique among all the active configurations (
"Status": "ACTIVE") with the sameAutoScalingConfigurationName.
-
status
public final AutoScalingConfigurationStatus status()
The current state of the auto scaling configuration. If the status of a configuration revision is
INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.If the service returns an enum value that is not available in the current SDK version,
statuswill returnAutoScalingConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the auto scaling configuration. If the status of a configuration revision is
INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted. - See Also:
AutoScalingConfigurationStatus
-
statusAsString
public final String statusAsString()
The current state of the auto scaling configuration. If the status of a configuration revision is
INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.If the service returns an enum value that is not available in the current SDK version,
statuswill returnAutoScalingConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the auto scaling configuration. If the status of a configuration revision is
INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted. - See Also:
AutoScalingConfigurationStatus
-
createdAt
public final Instant createdAt()
The time when the auto scaling configuration was created. It's in Unix time stamp format.
- Returns:
- The time when the auto scaling configuration was created. It's in Unix time stamp format.
-
hasAssociatedService
public final Boolean hasAssociatedService()
Indicates if this auto scaling configuration has an App Runner service associated with it. A value of
trueindicates one or more services are associated. A value offalseindicates no services are associated.- Returns:
- Indicates if this auto scaling configuration has an App Runner service associated with it. A value of
trueindicates one or more services are associated. A value offalseindicates no services are associated.
-
isDefault
public final Boolean isDefault()
Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default
AutoScalingConfigurationper region. The defaultAutoScalingConfigurationcan be any revision under the sameAutoScalingConfigurationName.- Returns:
- Indicates if this auto scaling configuration should be used as the default for a new App Runner service
that does not have an auto scaling configuration ARN specified during creation. Each account can have
only one default
AutoScalingConfigurationper region. The defaultAutoScalingConfigurationcan be any revision under the sameAutoScalingConfigurationName.
-
toBuilder
public AutoScalingConfigurationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutoScalingConfigurationSummary.Builder,AutoScalingConfigurationSummary>
-
builder
public static AutoScalingConfigurationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoScalingConfigurationSummary.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.
-
-