@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAutoScalingConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAutoScalingConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAutoScalingConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingConfigurationName()
A name for the auto scaling configuration.
|
Integer |
getMaxConcurrency()
The maximum number of concurrent requests that you want an instance to process.
|
Integer |
getMaxSize()
The maximum number of instances that your service scales up to.
|
Integer |
getMinSize()
The minimum number of instances that App Runner provisions for your service.
|
List<Tag> |
getTags()
A list of metadata items that you can associate with your auto scaling configuration resource.
|
int |
hashCode() |
void |
setAutoScalingConfigurationName(String autoScalingConfigurationName)
A name for the auto scaling configuration.
|
void |
setMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent requests that you want an instance to process.
|
void |
setMaxSize(Integer maxSize)
The maximum number of instances that your service scales up to.
|
void |
setMinSize(Integer minSize)
The minimum number of instances that App Runner provisions for your service.
|
void |
setTags(Collection<Tag> tags)
A list of metadata items that you can associate with your auto scaling configuration resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateAutoScalingConfigurationRequest |
withAutoScalingConfigurationName(String autoScalingConfigurationName)
A name for the auto scaling configuration.
|
CreateAutoScalingConfigurationRequest |
withMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent requests that you want an instance to process.
|
CreateAutoScalingConfigurationRequest |
withMaxSize(Integer maxSize)
The maximum number of instances that your service scales up to.
|
CreateAutoScalingConfigurationRequest |
withMinSize(Integer minSize)
The minimum number of instances that App Runner provisions for your service.
|
CreateAutoScalingConfigurationRequest |
withTags(Collection<Tag> tags)
A list of metadata items that you can associate with your auto scaling configuration resource.
|
CreateAutoScalingConfigurationRequest |
withTags(Tag... tags)
A list of metadata items that you can associate with your auto scaling configuration resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateAutoScalingConfigurationRequest()
public void setAutoScalingConfigurationName(String autoScalingConfigurationName)
A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region,
App Runner creates revision number 1
of this name. When you use the same name in subsequent calls,
App Runner creates incremental revisions of the configuration.
Prior to the release of Auto scale
configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way you
manage your custom auto scaling configurations. This means you can do the following with the
DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration with the
same DefaultConfiguration
name. The original DefaultConfiguration
resource provided by
App Runner remains in your account unless you make changes to it.
autoScalingConfigurationName
- A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services
Region, App Runner creates revision number 1
of this name. When you use the same name in
subsequent calls, App Runner creates incremental revisions of the configuration.
Prior to the release of Auto scale configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way
you manage your custom auto scaling configurations. This means you can do the following with the
DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was
created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration with
the same DefaultConfiguration
name. The original DefaultConfiguration
resource
provided by App Runner remains in your account unless you make changes to it.
public String getAutoScalingConfigurationName()
A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region,
App Runner creates revision number 1
of this name. When you use the same name in subsequent calls,
App Runner creates incremental revisions of the configuration.
Prior to the release of Auto scale
configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way you
manage your custom auto scaling configurations. This means you can do the following with the
DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration with the
same DefaultConfiguration
name. The original DefaultConfiguration
resource provided by
App Runner remains in your account unless you make changes to it.
1
of this name. When you use the same name in
subsequent calls, App Runner creates incremental revisions of the configuration.
Prior to the release of Auto scale configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way
you manage your custom auto scaling configurations. This means you can do the following with the
DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was
created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration
with the same DefaultConfiguration
name. The original DefaultConfiguration
resource provided by App Runner remains in your account unless you make changes to it.
public CreateAutoScalingConfigurationRequest withAutoScalingConfigurationName(String autoScalingConfigurationName)
A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region,
App Runner creates revision number 1
of this name. When you use the same name in subsequent calls,
App Runner creates incremental revisions of the configuration.
Prior to the release of Auto scale
configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way you
manage your custom auto scaling configurations. This means you can do the following with the
DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration with the
same DefaultConfiguration
name. The original DefaultConfiguration
resource provided by
App Runner remains in your account unless you make changes to it.
autoScalingConfigurationName
- A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services
Region, App Runner creates revision number 1
of this name. When you use the same name in
subsequent calls, App Runner creates incremental revisions of the configuration.
Prior to the release of Auto scale configuration enhancements, the name DefaultConfiguration
was reserved.
This restriction is no longer in place. You can now manage DefaultConfiguration
the same way
you manage your custom auto scaling configurations. This means you can do the following with the
DefaultConfiguration
that App Runner provides:
Create new revisions of the DefaultConfiguration
.
Delete the revisions of the DefaultConfiguration
.
Delete the auto scaling configuration for which the App Runner DefaultConfiguration
was
created.
If you delete the auto scaling configuration you can create another custom auto scaling configuration with
the same DefaultConfiguration
name. The original DefaultConfiguration
resource
provided by App Runner remains in your account unless you make changes to it.
public void setMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent requests that you want an instance to process. If the number of concurrent requests exceeds this limit, App Runner scales up your service.
Default: 100
maxConcurrency
- The maximum number of concurrent requests that you want an instance to process. If the number of
concurrent requests exceeds this limit, App Runner scales up your service.
Default: 100
public Integer getMaxConcurrency()
The maximum number of concurrent requests that you want an instance to process. If the number of concurrent requests exceeds this limit, App Runner scales up your service.
Default: 100
Default: 100
public CreateAutoScalingConfigurationRequest withMaxConcurrency(Integer maxConcurrency)
The maximum number of concurrent requests that you want an instance to process. If the number of concurrent requests exceeds this limit, App Runner scales up your service.
Default: 100
maxConcurrency
- The maximum number of concurrent requests that you want an instance to process. If the number of
concurrent requests exceeds this limit, App Runner scales up your service.
Default: 100
public void setMinSize(Integer minSize)
The minimum number of instances that App Runner provisions for your service. The service always has at least
MinSize
provisioned instances. Some of them actively serve traffic. The rest of them (provisioned
and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You
pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset.
App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
Default: 1
minSize
- The minimum number of instances that App Runner provisions for your service. The service always has at
least MinSize
provisioned instances. Some of them actively serve traffic. The rest of them
(provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be
quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of
only the active subset.
App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
Default: 1
public Integer getMinSize()
The minimum number of instances that App Runner provisions for your service. The service always has at least
MinSize
provisioned instances. Some of them actively serve traffic. The rest of them (provisioned
and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You
pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset.
App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
Default: 1
MinSize
provisioned instances. Some of them actively serve traffic. The rest of them
(provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be
quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of
only the active subset.
App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
Default: 1
public CreateAutoScalingConfigurationRequest withMinSize(Integer minSize)
The minimum number of instances that App Runner provisions for your service. The service always has at least
MinSize
provisioned instances. Some of them actively serve traffic. The rest of them (provisioned
and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You
pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset.
App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
Default: 1
minSize
- The minimum number of instances that App Runner provisions for your service. The service always has at
least MinSize
provisioned instances. Some of them actively serve traffic. The rest of them
(provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be
quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of
only the active subset.
App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
Default: 1
public void setMaxSize(Integer maxSize)
The maximum number of instances that your service scales up to. At most MaxSize
instances actively
serve traffic for your service.
Default: 25
maxSize
- The maximum number of instances that your service scales up to. At most MaxSize
instances
actively serve traffic for your service.
Default: 25
public Integer getMaxSize()
The maximum number of instances that your service scales up to. At most MaxSize
instances actively
serve traffic for your service.
Default: 25
MaxSize
instances
actively serve traffic for your service.
Default: 25
public CreateAutoScalingConfigurationRequest withMaxSize(Integer maxSize)
The maximum number of instances that your service scales up to. At most MaxSize
instances actively
serve traffic for your service.
Default: 25
maxSize
- The maximum number of instances that your service scales up to. At most MaxSize
instances
actively serve traffic for your service.
Default: 25
public List<Tag> getTags()
A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.
public void setTags(Collection<Tag> tags)
A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.
tags
- A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a
key-value pair.public CreateAutoScalingConfigurationRequest withTags(Tag... tags)
A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a
key-value pair.public CreateAutoScalingConfigurationRequest withTags(Collection<Tag> tags)
A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a key-value pair.
tags
- A list of metadata items that you can associate with your auto scaling configuration resource. A tag is a
key-value pair.public String toString()
toString
in class Object
Object.toString()
public CreateAutoScalingConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()