Class ApplicationVersionLifecycleConfig
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.ApplicationVersionLifecycleConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApplicationVersionLifecycleConfig.Builder,ApplicationVersionLifecycleConfig>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationVersionLifecycleConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationVersionLifecycleConfig.Builder,ApplicationVersionLifecycleConfig>
The application version lifecycle settings for an application. Defines the rules that Elastic Beanstalk applies to an application's versions in order to avoid hitting the per-region limit for application versions.
When Elastic Beanstalk deletes an application version from its database, you can no longer deploy that version to an environment. The source bundle remains in S3 unless you configure the rule to delete it.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApplicationVersionLifecycleConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationVersionLifecycleConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MaxAgeRulemaxAgeRule()Specify a max age rule to restrict the length of time that application versions are retained for an application.MaxCountRulemaxCountRule()Specify a max count rule to restrict the number of application versions that are retained for an application.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ApplicationVersionLifecycleConfig.Builder>serializableBuilderClass()ApplicationVersionLifecycleConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
maxCountRule
public final MaxCountRule maxCountRule()
Specify a max count rule to restrict the number of application versions that are retained for an application.
- Returns:
- Specify a max count rule to restrict the number of application versions that are retained for an application.
-
maxAgeRule
public final MaxAgeRule maxAgeRule()
Specify a max age rule to restrict the length of time that application versions are retained for an application.
- Returns:
- Specify a max age rule to restrict the length of time that application versions are retained for an application.
-
toBuilder
public ApplicationVersionLifecycleConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationVersionLifecycleConfig.Builder,ApplicationVersionLifecycleConfig>
-
builder
public static ApplicationVersionLifecycleConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationVersionLifecycleConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-