public class DescribeLifecycleHooksRequest extends AmazonWebServiceRequest implements Serializable
DescribeLifecycleHooks operation
.
Describes the lifecycle hooks that currently belong to the specified Auto Scaling group.
NOOP
Constructor and Description |
---|
DescribeLifecycleHooksRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of one or more Auto Scaling groups.
|
List<String> |
getLifecycleHookNames()
The name of one or more lifecycle hooks.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of one or more Auto Scaling groups.
|
void |
setLifecycleHookNames(Collection<String> lifecycleHookNames)
The name 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 one or more Auto Scaling groups.
|
DescribeLifecycleHooksRequest |
withLifecycleHookNames(Collection<String> lifecycleHookNames)
The name of one or more lifecycle hooks.
|
DescribeLifecycleHooksRequest |
withLifecycleHookNames(String... lifecycleHookNames)
The name of one or more lifecycle hooks.
|
copyPrivateRequestParameters, 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 one or more Auto Scaling groups.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 one or more Auto Scaling groups.public List<String> getLifecycleHookNames()
public void setLifecycleHookNames(Collection<String> lifecycleHookNames)
lifecycleHookNames
- The name of one or more lifecycle hooks.public DescribeLifecycleHooksRequest withLifecycleHookNames(String... lifecycleHookNames)
Returns a reference to this object so that method calls can be chained together.
lifecycleHookNames
- The name 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 name of one or more lifecycle hooks.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.