public class DescribeLifecycleHooksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeLifecycleHooks operation
.
Describes the lifecycle hooks for the specified Auto Scaling group.
NOOP
Constructor and Description |
---|
DescribeLifecycleHooksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLifecycleHooksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the group.
|
List<String> |
getLifecycleHookNames()
The names of one or more lifecycle hooks.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
void |
setLifecycleHookNames(Collection<String> lifecycleHookNames)
The names of one or more lifecycle hooks.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLifecycleHooksRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
DescribeLifecycleHooksRequest |
withLifecycleHookNames(Collection<String> lifecycleHookNames)
The names of one or more lifecycle hooks.
|
DescribeLifecycleHooksRequest |
withLifecycleHookNames(String... lifecycleHookNames)
The names of one or more lifecycle hooks.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the group.public DescribeLifecycleHooksRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the group.public List<String> getLifecycleHookNames()
public void setLifecycleHookNames(Collection<String> lifecycleHookNames)
lifecycleHookNames
- The names of one or more lifecycle hooks.public DescribeLifecycleHooksRequest withLifecycleHookNames(String... lifecycleHookNames)
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.
Returns a reference to this object so that method calls can be chained together.
lifecycleHookNames
- The names of one or more lifecycle hooks.public DescribeLifecycleHooksRequest withLifecycleHookNames(Collection<String> lifecycleHookNames)
Returns a reference to this object so that method calls can be chained together.
lifecycleHookNames
- The names of one or more lifecycle hooks.public String toString()
toString
in class Object
Object.toString()
public DescribeLifecycleHooksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.