@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateInstanceCustomHealthStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateInstanceCustomHealthStatusRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateInstanceCustomHealthStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the instance that you want to change the health status for.
|
String |
getServiceId()
The ID of the service that includes the configuration for the custom health check that you want to change the
status for.
|
String |
getStatus()
The new status of the instance,
HEALTHY or UNHEALTHY . |
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance that you want to change the health status for.
|
void |
setServiceId(String serviceId)
The ID of the service that includes the configuration for the custom health check that you want to change the
status for.
|
void |
setStatus(String status)
The new status of the instance,
HEALTHY or UNHEALTHY . |
String |
toString()
Returns a string representation of this object.
|
UpdateInstanceCustomHealthStatusRequest |
withInstanceId(String instanceId)
The ID of the instance that you want to change the health status for.
|
UpdateInstanceCustomHealthStatusRequest |
withServiceId(String serviceId)
The ID of the service that includes the configuration for the custom health check that you want to change the
status for.
|
UpdateInstanceCustomHealthStatusRequest |
withStatus(CustomHealthStatus status)
The new status of the instance,
HEALTHY or UNHEALTHY . |
UpdateInstanceCustomHealthStatusRequest |
withStatus(String status)
The new status of the instance,
HEALTHY or UNHEALTHY . |
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 UpdateInstanceCustomHealthStatusRequest()
public void setServiceId(String serviceId)
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
serviceId
- The ID of the service that includes the configuration for the custom health check that you want to change
the status for.public String getServiceId()
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
public UpdateInstanceCustomHealthStatusRequest withServiceId(String serviceId)
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
serviceId
- The ID of the service that includes the configuration for the custom health check that you want to change
the status for.public void setInstanceId(String instanceId)
The ID of the instance that you want to change the health status for.
instanceId
- The ID of the instance that you want to change the health status for.public String getInstanceId()
The ID of the instance that you want to change the health status for.
public UpdateInstanceCustomHealthStatusRequest withInstanceId(String instanceId)
The ID of the instance that you want to change the health status for.
instanceId
- The ID of the instance that you want to change the health status for.public void setStatus(String status)
The new status of the instance, HEALTHY
or UNHEALTHY
.
status
- The new status of the instance, HEALTHY
or UNHEALTHY
.CustomHealthStatus
public String getStatus()
The new status of the instance, HEALTHY
or UNHEALTHY
.
HEALTHY
or UNHEALTHY
.CustomHealthStatus
public UpdateInstanceCustomHealthStatusRequest withStatus(String status)
The new status of the instance, HEALTHY
or UNHEALTHY
.
status
- The new status of the instance, HEALTHY
or UNHEALTHY
.CustomHealthStatus
public UpdateInstanceCustomHealthStatusRequest withStatus(CustomHealthStatus status)
The new status of the instance, HEALTHY
or UNHEALTHY
.
status
- The new status of the instance, HEALTHY
or UNHEALTHY
.CustomHealthStatus
public String toString()
toString
in class Object
Object.toString()
public UpdateInstanceCustomHealthStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()