@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteScalingPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteScalingPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteScalingPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFleetId()
A unique identifier for the fleet to be deleted.
|
String |
getName()
A descriptive label that is associated with a fleet's scaling policy.
|
int |
hashCode() |
void |
setFleetId(String fleetId)
A unique identifier for the fleet to be deleted.
|
void |
setName(String name)
A descriptive label that is associated with a fleet's scaling policy.
|
String |
toString()
Returns a string representation of this object.
|
DeleteScalingPolicyRequest |
withFleetId(String fleetId)
A unique identifier for the fleet to be deleted.
|
DeleteScalingPolicyRequest |
withName(String name)
A descriptive label that is associated with a fleet's scaling policy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.
name
- A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be
unique.public String getName()
A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.
public DeleteScalingPolicyRequest withName(String name)
A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.
name
- A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be
unique.public void setFleetId(String fleetId)
A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.
fleetId
- A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.public String getFleetId()
A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.
public DeleteScalingPolicyRequest withFleetId(String fleetId)
A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.
fleetId
- A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.public String toString()
toString
in class Object
Object.toString()
public DeleteScalingPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()