Interface MaxCountRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MaxCountRule.Builder,,MaxCountRule> SdkBuilder<MaxCountRule.Builder,,MaxCountRule> SdkPojo
- Enclosing class:
MaxCountRule
public static interface MaxCountRule.Builder
extends SdkPojo, CopyableBuilder<MaxCountRule.Builder,MaxCountRule>
-
Method Summary
Modifier and TypeMethodDescriptiondeleteSourceFromS3(Boolean deleteSourceFromS3) Set totrueto delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.Specifytrueto apply the rule, orfalseto disable it.Specify the maximum number of application versions to retain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
enabled
Specify
trueto apply the rule, orfalseto disable it.- Parameters:
enabled- Specifytrueto apply the rule, orfalseto disable it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCount
Specify the maximum number of application versions to retain.
- Parameters:
maxCount- Specify the maximum number of application versions to retain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteSourceFromS3
Set to
trueto delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.- Parameters:
deleteSourceFromS3- Set totrueto delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-