@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)
Marshalls this structured data using the given
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.ServiceName
public String getServiceName()
The name of the AWS service.
ServiceName
public ServiceHealth withServiceName(String serviceName)
The name of the AWS service.
serviceName
- The name of the AWS service.ServiceName
public ServiceHealth withServiceName(ServiceName serviceName)
The name of the AWS service.
serviceName
- The name of the AWS service.ServiceName
public 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 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.