Interface ApplicationResourceLifecycleConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>,SdkBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>,SdkPojo
- Enclosing class:
- ApplicationResourceLifecycleConfig
public static interface ApplicationResourceLifecycleConfig.Builder extends SdkPojo, CopyableBuilder<ApplicationResourceLifecycleConfig.Builder,ApplicationResourceLifecycleConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ApplicationResourceLifecycleConfig.BuilderserviceRole(String serviceRole)The ARN of an IAM service role that Elastic Beanstalk has permission to assume.default ApplicationResourceLifecycleConfig.BuilderversionLifecycleConfig(Consumer<ApplicationVersionLifecycleConfig.Builder> versionLifecycleConfig)Defines lifecycle settings for application versions.ApplicationResourceLifecycleConfig.BuilderversionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig)Defines lifecycle settings for application versions.-
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, sdkFields
-
-
-
-
Method Detail
-
serviceRole
ApplicationResourceLifecycleConfig.Builder serviceRole(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.- 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:
versionLifecycleConfig(ApplicationVersionLifecycleConfig)
-
-