public static final class CfnApplication.MaxAgeRuleProperty.Builder
extends java.lang.Object
CfnApplication.MaxAgeRuleProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApplication.MaxAgeRuleProperty |
build()
Builds the configured instance.
|
CfnApplication.MaxAgeRuleProperty.Builder |
deleteSourceFromS3(java.lang.Boolean deleteSourceFromS3)
Sets the value of
CfnApplication.MaxAgeRuleProperty.getDeleteSourceFromS3() |
CfnApplication.MaxAgeRuleProperty.Builder |
deleteSourceFromS3(IResolvable deleteSourceFromS3)
Sets the value of
CfnApplication.MaxAgeRuleProperty.getDeleteSourceFromS3() |
CfnApplication.MaxAgeRuleProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnApplication.MaxAgeRuleProperty.getEnabled() |
CfnApplication.MaxAgeRuleProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnApplication.MaxAgeRuleProperty.getEnabled() |
CfnApplication.MaxAgeRuleProperty.Builder |
maxAgeInDays(java.lang.Number maxAgeInDays)
Sets the value of
CfnApplication.MaxAgeRuleProperty.getMaxAgeInDays() |
public CfnApplication.MaxAgeRuleProperty.Builder deleteSourceFromS3(java.lang.Boolean deleteSourceFromS3)
CfnApplication.MaxAgeRuleProperty.getDeleteSourceFromS3()
deleteSourceFromS3
- Set to `true` to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.this
public CfnApplication.MaxAgeRuleProperty.Builder deleteSourceFromS3(IResolvable deleteSourceFromS3)
CfnApplication.MaxAgeRuleProperty.getDeleteSourceFromS3()
deleteSourceFromS3
- Set to `true` to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.this
public CfnApplication.MaxAgeRuleProperty.Builder enabled(java.lang.Boolean enabled)
CfnApplication.MaxAgeRuleProperty.getEnabled()
enabled
- Specify `true` to apply the rule, or `false` to disable it.this
public CfnApplication.MaxAgeRuleProperty.Builder enabled(IResolvable enabled)
CfnApplication.MaxAgeRuleProperty.getEnabled()
enabled
- Specify `true` to apply the rule, or `false` to disable it.this
public CfnApplication.MaxAgeRuleProperty.Builder maxAgeInDays(java.lang.Number maxAgeInDays)
CfnApplication.MaxAgeRuleProperty.getMaxAgeInDays()
maxAgeInDays
- Specify the number of days to retain an application versions.this
public CfnApplication.MaxAgeRuleProperty build()
CfnApplication.MaxAgeRuleProperty
java.lang.NullPointerException
- if any required attribute was not provided