Interface MaxAgeRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MaxAgeRule.Builder,,MaxAgeRule> SdkBuilder<MaxAgeRule.Builder,,MaxAgeRule> SdkPojo
- Enclosing class:
MaxAgeRule
public static interface MaxAgeRule.Builder
extends SdkPojo, CopyableBuilder<MaxAgeRule.Builder,MaxAgeRule>
-
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.maxAgeInDays(Integer maxAgeInDays) Specify the number of days to retain an application versions.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.
-
maxAgeInDays
Specify the number of days to retain an application versions.
- Parameters:
maxAgeInDays- Specify the number of days to retain an application versions.- 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.
-