public class DescribeLifecycleHookTypesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
lifecycleHookTypes
One or more of the following notification types:
|
Constructor and Description |
---|
DescribeLifecycleHookTypesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeLifecycleHookTypesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getLifecycleHookTypes()
One or more of the following notification types:
|
int |
hashCode() |
void |
setLifecycleHookTypes(java.util.Collection<java.lang.String> lifecycleHookTypes)
One or more of the following notification types:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLifecycleHookTypesResult |
withLifecycleHookTypes(java.util.Collection<java.lang.String> lifecycleHookTypes)
One or more of the following notification types:
|
DescribeLifecycleHookTypesResult |
withLifecycleHookTypes(java.lang.String... lifecycleHookTypes)
One or more of the following notification types:
|
private SdkInternalList<java.lang.String> lifecycleHookTypes
One or more of the following notification types:
autoscaling:EC2_INSTANCE_LAUNCHING
autoscaling:EC2_INSTANCE_TERMINATING
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeLifecycleHookTypesResult clone()
clone
in class java.lang.Object