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