public class DescribeLifecycleHookTypesResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeLifecycleHookTypesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLifecycleHookTypesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLifecycleHookTypes()
One or more of the following notification types:
|
int |
hashCode() |
void |
setLifecycleHookTypes(Collection<String> lifecycleHookTypes)
One or more of the following notification types:
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLifecycleHookTypesResult |
withLifecycleHookTypes(Collection<String> lifecycleHookTypes)
One or more of the following notification types:
|
DescribeLifecycleHookTypesResult |
withLifecycleHookTypes(String... lifecycleHookTypes)
One or more of the following notification types:
|
public List<String> getLifecycleHookTypes()
One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
public void setLifecycleHookTypes(Collection<String> lifecycleHookTypes)
One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
lifecycleHookTypes
- One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
public DescribeLifecycleHookTypesResult withLifecycleHookTypes(String... lifecycleHookTypes)
One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
NOTE: This method appends the values to the existing list (if
any). Use setLifecycleHookTypes(java.util.Collection)
or
withLifecycleHookTypes(java.util.Collection)
if you want to
override the existing values.
lifecycleHookTypes
- One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
public DescribeLifecycleHookTypesResult withLifecycleHookTypes(Collection<String> lifecycleHookTypes)
One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
lifecycleHookTypes
- One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
public String toString()
toString
in class Object
Object.toString()
public DescribeLifecycleHookTypesResult clone()
Copyright © 2018. All rights reserved.