ToCopyableBuilder<MaxCountRule.Builder,MaxCountRule>@Generated("software.amazon.awssdk:codegen") public class MaxCountRule extends Object implements ToCopyableBuilder<MaxCountRule.Builder,MaxCountRule>
A lifecycle rule that deletes the oldest application version when the maximum count is exceeded.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
MaxCountRule.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static MaxCountRule.Builder |
builder() |
|
Boolean |
deleteSourceFromS3() |
Set to
true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the
application version. |
Boolean |
enabled() |
Specify
true to apply the rule, or false to disable it. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
maxCount() |
Specify the maximum number of application versions to retain.
|
static Class<? extends MaxCountRule.Builder> |
serializableBuilderClass() |
|
MaxCountRule.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Boolean enabled()
Specify true to apply the rule, or false to disable it.
true to apply the rule, or false to disable it.public Integer maxCount()
Specify the maximum number of application versions to retain.
public Boolean deleteSourceFromS3()
Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the
application version.
true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk
deletes the application version.public MaxCountRule.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<MaxCountRule.Builder,MaxCountRule>public static MaxCountRule.Builder builder()
public static Class<? extends MaxCountRule.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.