Interface ApplicationResourceLifecycleConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationResourceLifecycleConfig.Builder,,ApplicationResourceLifecycleConfig> SdkBuilder<ApplicationResourceLifecycleConfig.Builder,,ApplicationResourceLifecycleConfig> SdkPojo
- Enclosing class:
ApplicationResourceLifecycleConfig
-
Method Summary
Modifier and TypeMethodDescriptionserviceRole(String serviceRole) The ARN of an IAM service role that Elastic Beanstalk has permission to assume.versionLifecycleConfig(Consumer<ApplicationVersionLifecycleConfig.Builder> versionLifecycleConfig) Defines lifecycle settings for application versions.versionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig) Defines lifecycle settings for 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
-
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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
versionLifecycleConfig
ApplicationResourceLifecycleConfig.Builder versionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig) Defines lifecycle settings for application versions.
- Parameters:
versionLifecycleConfig- Defines lifecycle settings for application versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionLifecycleConfig
default ApplicationResourceLifecycleConfig.Builder versionLifecycleConfig(Consumer<ApplicationVersionLifecycleConfig.Builder> versionLifecycleConfig) Defines lifecycle settings for application versions.
This is a convenience method that creates an instance of theApplicationVersionLifecycleConfig.Builderavoiding the need to create one manually viaApplicationVersionLifecycleConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toversionLifecycleConfig(ApplicationVersionLifecycleConfig).- Parameters:
versionLifecycleConfig- a consumer that will call methods onApplicationVersionLifecycleConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-