@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationResourceLifecycleConfig extends Object implements Serializable, Cloneable
The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.
Constructor and Description |
---|
ApplicationResourceLifecycleConfig() |
Modifier and Type | Method and Description |
---|---|
ApplicationResourceLifecycleConfig |
clone() |
boolean |
equals(Object obj) |
String |
getServiceRole()
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
|
ApplicationVersionLifecycleConfig |
getVersionLifecycleConfig()
The application version lifecycle configuration.
|
int |
hashCode() |
void |
setServiceRole(String serviceRole)
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
|
void |
setVersionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig)
The application version lifecycle configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ApplicationResourceLifecycleConfig |
withServiceRole(String serviceRole)
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
|
ApplicationResourceLifecycleConfig |
withVersionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig)
The application version lifecycle configuration.
|
public void setServiceRole(String serviceRole)
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
serviceRole
- The ARN of an IAM service role that Elastic Beanstalk has permission to assume.public String getServiceRole()
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
public ApplicationResourceLifecycleConfig withServiceRole(String serviceRole)
The ARN of an IAM service role that Elastic Beanstalk has permission to assume.
serviceRole
- The ARN of an IAM service role that Elastic Beanstalk has permission to assume.public void setVersionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig)
The application version lifecycle configuration.
versionLifecycleConfig
- The application version lifecycle configuration.public ApplicationVersionLifecycleConfig getVersionLifecycleConfig()
The application version lifecycle configuration.
public ApplicationResourceLifecycleConfig withVersionLifecycleConfig(ApplicationVersionLifecycleConfig versionLifecycleConfig)
The application version lifecycle configuration.
versionLifecycleConfig
- The application version lifecycle configuration.public String toString()
toString
in class Object
Object.toString()
public ApplicationResourceLifecycleConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.