@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceSummary extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains information about a specified service.
Constructor and Description |
---|
ServiceSummary() |
Modifier and Type | Method and Description |
---|---|
ServiceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
|
Date |
getCreateDate()
The date and time that the service was created.
|
String |
getDescription()
The description that you specify when you create the service.
|
DnsConfig |
getDnsConfig() |
HealthCheckConfig |
getHealthCheckConfig() |
HealthCheckCustomConfig |
getHealthCheckCustomConfig() |
String |
getId()
The ID that AWS Cloud Map assigned to the service when you created it.
|
Integer |
getInstanceCount()
The number of instances that are currently associated with the service.
|
String |
getName()
The name of the service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
|
void |
setCreateDate(Date createDate)
The date and time that the service was created.
|
void |
setDescription(String description)
The description that you specify when you create the service.
|
void |
setDnsConfig(DnsConfig dnsConfig) |
void |
setHealthCheckConfig(HealthCheckConfig healthCheckConfig) |
void |
setHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig) |
void |
setId(String id)
The ID that AWS Cloud Map assigned to the service when you created it.
|
void |
setInstanceCount(Integer instanceCount)
The number of instances that are currently associated with the service.
|
void |
setName(String name)
The name of the service.
|
String |
toString()
Returns a string representation of this object.
|
ServiceSummary |
withArn(String arn)
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
|
ServiceSummary |
withCreateDate(Date createDate)
The date and time that the service was created.
|
ServiceSummary |
withDescription(String description)
The description that you specify when you create the service.
|
ServiceSummary |
withDnsConfig(DnsConfig dnsConfig) |
ServiceSummary |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig) |
ServiceSummary |
withHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig) |
ServiceSummary |
withId(String id)
The ID that AWS Cloud Map assigned to the service when you created it.
|
ServiceSummary |
withInstanceCount(Integer instanceCount)
The number of instances that are currently associated with the service.
|
ServiceSummary |
withName(String name)
The name of the service.
|
public void setId(String id)
The ID that AWS Cloud Map assigned to the service when you created it.
id
- The ID that AWS Cloud Map assigned to the service when you created it.public String getId()
The ID that AWS Cloud Map assigned to the service when you created it.
public ServiceSummary withId(String id)
The ID that AWS Cloud Map assigned to the service when you created it.
id
- The ID that AWS Cloud Map assigned to the service when you created it.public void setArn(String arn)
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
arn
- The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.public String getArn()
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
public ServiceSummary withArn(String arn)
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
arn
- The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.public void setName(String name)
The name of the service.
name
- The name of the service.public String getName()
The name of the service.
public ServiceSummary withName(String name)
The name of the service.
name
- The name of the service.public void setDescription(String description)
The description that you specify when you create the service.
description
- The description that you specify when you create the service.public String getDescription()
The description that you specify when you create the service.
public ServiceSummary withDescription(String description)
The description that you specify when you create the service.
description
- The description that you specify when you create the service.public void setInstanceCount(Integer instanceCount)
The number of instances that are currently associated with the service. Instances that were previously associated with the service but that have been deleted are not included in the count.
instanceCount
- The number of instances that are currently associated with the service. Instances that were previously
associated with the service but that have been deleted are not included in the count.public Integer getInstanceCount()
The number of instances that are currently associated with the service. Instances that were previously associated with the service but that have been deleted are not included in the count.
public ServiceSummary withInstanceCount(Integer instanceCount)
The number of instances that are currently associated with the service. Instances that were previously associated with the service but that have been deleted are not included in the count.
instanceCount
- The number of instances that are currently associated with the service. Instances that were previously
associated with the service but that have been deleted are not included in the count.public void setDnsConfig(DnsConfig dnsConfig)
dnsConfig
- public DnsConfig getDnsConfig()
public ServiceSummary withDnsConfig(DnsConfig dnsConfig)
dnsConfig
- public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
healthCheckConfig
- public HealthCheckConfig getHealthCheckConfig()
public ServiceSummary withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
healthCheckConfig
- public void setHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
healthCheckCustomConfig
- public HealthCheckCustomConfig getHealthCheckCustomConfig()
public ServiceSummary withHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
healthCheckCustomConfig
- public void setCreateDate(Date createDate)
The date and time that the service was created.
createDate
- The date and time that the service was created.public Date getCreateDate()
The date and time that the service was created.
public ServiceSummary withCreateDate(Date createDate)
The date and time that the service was created.
createDate
- The date and time that the service was created.public String toString()
toString
in class Object
Object.toString()
public ServiceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.