@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingConfigurationSummary extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
AutoScalingConfigurationSummary() |
Modifier and Type | Method and Description |
---|---|
AutoScalingConfigurationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingConfigurationArn()
The Amazon Resource Name (ARN) of this auto scaling configuration.
|
String |
getAutoScalingConfigurationName()
The customer-provided auto scaling configuration name.
|
Integer |
getAutoScalingConfigurationRevision()
The revision of this auto scaling configuration.
|
Date |
getCreatedAt()
The time when the auto scaling configuration was created.
|
Boolean |
getHasAssociatedService()
Indicates if this auto scaling configuration has an App Runner service associated with it.
|
Boolean |
getIsDefault()
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.
|
String |
getStatus()
The current state of the auto scaling configuration.
|
int |
hashCode() |
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.
|
Boolean |
isHasAssociatedService()
Indicates if this auto scaling configuration has an App Runner service associated with it.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of this auto scaling configuration.
|
void |
setAutoScalingConfigurationName(String autoScalingConfigurationName)
The customer-provided auto scaling configuration name.
|
void |
setAutoScalingConfigurationRevision(Integer autoScalingConfigurationRevision)
The revision of this auto scaling configuration.
|
void |
setCreatedAt(Date createdAt)
The time when the auto scaling configuration was created.
|
void |
setHasAssociatedService(Boolean hasAssociatedService)
Indicates if this auto scaling configuration has an App Runner service associated with it.
|
void |
setIsDefault(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.
|
void |
setStatus(String status)
The current state of the auto scaling configuration.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingConfigurationSummary |
withAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of this auto scaling configuration.
|
AutoScalingConfigurationSummary |
withAutoScalingConfigurationName(String autoScalingConfigurationName)
The customer-provided auto scaling configuration name.
|
AutoScalingConfigurationSummary |
withAutoScalingConfigurationRevision(Integer autoScalingConfigurationRevision)
The revision of this auto scaling configuration.
|
AutoScalingConfigurationSummary |
withCreatedAt(Date createdAt)
The time when the auto scaling configuration was created.
|
AutoScalingConfigurationSummary |
withHasAssociatedService(Boolean hasAssociatedService)
Indicates if this auto scaling configuration has an App Runner service associated with it.
|
AutoScalingConfigurationSummary |
withIsDefault(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.
|
AutoScalingConfigurationSummary |
withStatus(AutoScalingConfigurationStatus status)
The current state of the auto scaling configuration.
|
AutoScalingConfigurationSummary |
withStatus(String status)
The current state of the auto scaling configuration.
|
public void setAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of this auto scaling configuration.
autoScalingConfigurationArn
- The Amazon Resource Name (ARN) of this auto scaling configuration.public String getAutoScalingConfigurationArn()
The Amazon Resource Name (ARN) of this auto scaling configuration.
public AutoScalingConfigurationSummary withAutoScalingConfigurationArn(String autoScalingConfigurationArn)
The Amazon Resource Name (ARN) of this auto scaling configuration.
autoScalingConfigurationArn
- The Amazon Resource Name (ARN) of this auto scaling configuration.public void setAutoScalingConfigurationName(String autoScalingConfigurationName)
The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
autoScalingConfigurationName
- The customer-provided auto scaling configuration name. It can be used in multiple revisions of a
configuration.public String getAutoScalingConfigurationName()
The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
public AutoScalingConfigurationSummary withAutoScalingConfigurationName(String autoScalingConfigurationName)
The customer-provided auto scaling configuration name. It can be used in multiple revisions of a configuration.
autoScalingConfigurationName
- The customer-provided auto scaling configuration name. It can be used in multiple revisions of a
configuration.public void setAutoScalingConfigurationRevision(Integer autoScalingConfigurationRevision)
The revision of this auto scaling configuration. It's unique among all the active configurations (
"Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.
autoScalingConfigurationRevision
- The revision of this auto scaling configuration. It's unique among all the active configurations (
"Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.public Integer getAutoScalingConfigurationRevision()
The revision of this auto scaling configuration. It's unique among all the active configurations (
"Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.
"Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.public AutoScalingConfigurationSummary withAutoScalingConfigurationRevision(Integer autoScalingConfigurationRevision)
The revision of this auto scaling configuration. It's unique among all the active configurations (
"Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.
autoScalingConfigurationRevision
- The revision of this auto scaling configuration. It's unique among all the active configurations (
"Status": "ACTIVE"
) with the same AutoScalingConfigurationName
.public void setStatus(String 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.
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.AutoScalingConfigurationStatus
public String getStatus()
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.
INACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently
removed some time after they are deleted.AutoScalingConfigurationStatus
public AutoScalingConfigurationSummary withStatus(String 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.
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.AutoScalingConfigurationStatus
public AutoScalingConfigurationSummary withStatus(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.
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.AutoScalingConfigurationStatus
public void setCreatedAt(Date createdAt)
The time when the auto scaling configuration was created. It's in Unix time stamp format.
createdAt
- The time when the auto scaling configuration was created. It's in Unix time stamp format.public Date getCreatedAt()
The time when the auto scaling configuration was created. It's in Unix time stamp format.
public AutoScalingConfigurationSummary withCreatedAt(Date createdAt)
The time when the auto scaling configuration was created. It's in Unix time stamp format.
createdAt
- The time when the auto scaling configuration was created. It's in Unix time stamp format.public void setHasAssociatedService(Boolean 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 of false
indicates no
services are associated.
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 of false
indicates
no services are associated.public Boolean getHasAssociatedService()
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 of false
indicates no
services are associated.
true
indicates one or more services are associated. A value of false
indicates
no services are associated.public AutoScalingConfigurationSummary withHasAssociatedService(Boolean 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 of false
indicates no
services are associated.
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 of false
indicates
no services are associated.public Boolean isHasAssociatedService()
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 of false
indicates no
services are associated.
true
indicates one or more services are associated. A value of false
indicates
no services are associated.public void setIsDefault(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
AutoScalingConfiguration
per region. The default AutoScalingConfiguration
can be any
revision under the same AutoScalingConfigurationName
.
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 default
AutoScalingConfiguration
can be any revision under the same
AutoScalingConfigurationName
.public Boolean getIsDefault()
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 default AutoScalingConfiguration
can be any
revision under the same AutoScalingConfigurationName
.
AutoScalingConfiguration
per region. The default
AutoScalingConfiguration
can be any revision under the same
AutoScalingConfigurationName
.public AutoScalingConfigurationSummary withIsDefault(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
AutoScalingConfiguration
per region. The default AutoScalingConfiguration
can be any
revision under the same AutoScalingConfigurationName
.
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 default
AutoScalingConfiguration
can be any revision under the same
AutoScalingConfigurationName
.public 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
AutoScalingConfiguration
per region. The default AutoScalingConfiguration
can be any
revision under the same AutoScalingConfigurationName
.
AutoScalingConfiguration
per region. The default
AutoScalingConfiguration
can be any revision under the same
AutoScalingConfigurationName
.public String toString()
toString
in class Object
Object.toString()
public AutoScalingConfigurationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.