Class AutoScalingConfigurationSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,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:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The Amazon Resource Name (ARN) of this auto scaling configuration.final String
The customer-provided auto scaling configuration name.final Integer
The revision of this auto scaling configuration.builder()
final Instant
The time when the auto scaling configuration was created.final boolean
final boolean
equalsBySdkFields
(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 Boolean
Indicates if this auto scaling configuration has an App Runner service associated with it.final int
hashCode()
final Boolean
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.static Class
<? extends AutoScalingConfigurationSummary.Builder> status()
The current state of the auto scaling configuration.final String
The current state of the auto scaling configuration.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
autoScalingConfigurationArn
The Amazon Resource Name (ARN) of this auto scaling configuration.
- Returns:
- The Amazon Resource Name (ARN) of this auto scaling configuration.
-
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
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
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,
status
will 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:
-
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,
status
will 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:
-
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
Indicates if this auto scaling configuration has an App Runner service associated with it. A value of
true
indicates one or more services are associated. A value offalse
indicates no services are associated.- Returns:
- Indicates if this auto scaling configuration has an App Runner service associated with it. A value of
true
indicates one or more services are associated. A value offalse
indicates no services are associated.
-
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
AutoScalingConfiguration
per region. The defaultAutoScalingConfiguration
can 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
AutoScalingConfiguration
per region. The defaultAutoScalingConfiguration
can be any revision under the sameAutoScalingConfigurationName
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AutoScalingConfigurationSummary.Builder,
AutoScalingConfigurationSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-