@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)
Marshalls this structured data using the given
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.ServiceName
public String getServiceName()
The name of the Amazon Web Services service.
ServiceName
public ServiceHealth withServiceName(String serviceName)
The name of the Amazon Web Services service.
serviceName
- The name of the Amazon Web Services service.ServiceName
public ServiceHealth withServiceName(ServiceName serviceName)
The name of the Amazon Web Services service.
serviceName
- The name of the Amazon Web Services service.ServiceName
public 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 Object
Object.toString()
public ServiceHealth clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.