public class DescribeLifecycleHooksRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
autoScalingGroupName
The name of the group.
|
private SdkInternalList<java.lang.String> |
lifecycleHookNames
The names of one or more lifecycle hooks.
|
NOOP
Constructor and Description |
---|
DescribeLifecycleHooksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLifecycleHooksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the group.
|
java.util.List<java.lang.String> |
getLifecycleHookNames()
The names of one or more lifecycle hooks.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
void |
setLifecycleHookNames(java.util.Collection<java.lang.String> lifecycleHookNames)
The names of one or more lifecycle hooks.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLifecycleHooksRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
DescribeLifecycleHooksRequest |
withLifecycleHookNames(java.util.Collection<java.lang.String> lifecycleHookNames)
The names of one or more lifecycle hooks.
|
DescribeLifecycleHooksRequest |
withLifecycleHookNames(java.lang.String... lifecycleHookNames)
The names of one or more lifecycle hooks.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String autoScalingGroupName
The name of the group.
private SdkInternalList<java.lang.String> lifecycleHookNames
The names of one or more lifecycle hooks.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public java.lang.String getAutoScalingGroupName()
The name of the group.
public DescribeLifecycleHooksRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public java.util.List<java.lang.String> getLifecycleHookNames()
The names of one or more lifecycle hooks.
public void setLifecycleHookNames(java.util.Collection<java.lang.String> lifecycleHookNames)
The names of one or more lifecycle hooks.
lifecycleHookNames
- The names of one or more lifecycle hooks.public DescribeLifecycleHooksRequest withLifecycleHookNames(java.lang.String... lifecycleHookNames)
The names of one or more lifecycle hooks.
NOTE: This method appends the values to the existing list (if
any). Use setLifecycleHookNames(java.util.Collection)
or
withLifecycleHookNames(java.util.Collection)
if you want to
override the existing values.
lifecycleHookNames
- The names of one or more lifecycle hooks.public DescribeLifecycleHooksRequest withLifecycleHookNames(java.util.Collection<java.lang.String> lifecycleHookNames)
The names of one or more lifecycle hooks.
lifecycleHookNames
- The names of one or more lifecycle hooks.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 DescribeLifecycleHooksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()