Class ApplicationResourceLifecycleConfig
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.ApplicationResourceLifecycleConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationResourceLifecycleConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>
The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that AWS Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApplicationResourceLifecycleConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationResourceLifecycleConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ApplicationResourceLifecycleConfig.Builder>serializableBuilderClass()StringserviceRole()The ARN of an IAM service role that Elastic Beanstalk has permission to assume.ApplicationResourceLifecycleConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.ApplicationVersionLifecycleConfigversionLifecycleConfig()Defines lifecycle settings for application versions.-
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
-
serviceRole
public final String serviceRole()
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
The
ServiceRoleproperty is required the first time that you provide aVersionLifecycleConfigfor the application in one of the supporting calls (CreateApplicationorUpdateApplicationResourceLifecycle). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again in subsequentUpdateApplicationResourceLifecyclecalls. You can, however, specify it in subsequent calls to change the Service Role to another value.- Returns:
- The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
The
ServiceRoleproperty is required the first time that you provide aVersionLifecycleConfigfor the application in one of the supporting calls (CreateApplicationorUpdateApplicationResourceLifecycle). After you provide it once, in either one of the calls, Elastic Beanstalk persists the Service Role with the application, and you don't need to specify it again in subsequentUpdateApplicationResourceLifecyclecalls. You can, however, specify it in subsequent calls to change the Service Role to another value.
-
versionLifecycleConfig
public final ApplicationVersionLifecycleConfig versionLifecycleConfig()
Defines lifecycle settings for application versions.
- Returns:
- Defines lifecycle settings for application versions.
-
toBuilder
public ApplicationResourceLifecycleConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>
-
builder
public static ApplicationResourceLifecycleConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationResourceLifecycleConfig.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
-
-