@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceHealth extends Object implements Serializable, Cloneable, StructuredPojo
Represents the health of an AWS service.
| Constructor and Description |
|---|
ServiceHealth() |
| Modifier and Type | Method and Description |
|---|---|
ServiceHealth |
clone() |
boolean |
equals(Object obj) |
ServiceInsightHealth |
getInsight()
Represents the health of an AWS service.
|
String |
getServiceName()
The name of the AWS service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInsight(ServiceInsightHealth insight)
Represents the health of an AWS service.
|
void |
setServiceName(String serviceName)
The name of the AWS service.
|
String |
toString()
Returns a string representation of this object.
|
ServiceHealth |
withInsight(ServiceInsightHealth insight)
Represents the health of an AWS service.
|
ServiceHealth |
withServiceName(ServiceName serviceName)
The name of the AWS service.
|
ServiceHealth |
withServiceName(String serviceName)
The name of the AWS service.
|
public void setServiceName(String serviceName)
The name of the AWS service.
serviceName - The name of the AWS service.ServiceNamepublic String getServiceName()
The name of the AWS service.
ServiceNamepublic ServiceHealth withServiceName(String serviceName)
The name of the AWS service.
serviceName - The name of the AWS service.ServiceNamepublic ServiceHealth withServiceName(ServiceName serviceName)
The name of the AWS service.
serviceName - The name of the AWS service.ServiceNamepublic void setInsight(ServiceInsightHealth insight)
Represents the health of an AWS service. This is a ServiceInsightHealth that contains the number of
open proactive and reactive insights for this service.
insight - Represents the health of an AWS service. This is a ServiceInsightHealth that contains the
number of open proactive and reactive insights for this service.public ServiceInsightHealth getInsight()
Represents the health of an AWS service. This is a ServiceInsightHealth that contains the number of
open proactive and reactive insights for this service.
ServiceInsightHealth that contains the
number of open proactive and reactive insights for this service.public ServiceHealth withInsight(ServiceInsightHealth insight)
Represents the health of an AWS service. This is a ServiceInsightHealth that contains the number of
open proactive and reactive insights for this service.
insight - Represents the health of an AWS service. This is a ServiceInsightHealth that contains the
number of open proactive and reactive insights for this service.public String toString()
toString in class ObjectObject.toString()public ServiceHealth clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.