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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MaxCountRule.BuilderdeleteSourceFromS3(Boolean deleteSourceFromS3)Set totrueto delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.MaxCountRule.Builderenabled(Boolean enabled)Specifytrueto apply the rule, orfalseto disable it.MaxCountRule.BuildermaxCount(Integer maxCount)Specify the maximum number of application versions to retain.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
enabled
MaxCountRule.Builder enabled(Boolean 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
MaxCountRule.Builder maxCount(Integer 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
MaxCountRule.Builder deleteSourceFromS3(Boolean 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.
-
-