@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 Route 53 assigns to the service when you create it.
|
String |
getDescription()
The description that you specify when you create the service.
|
String |
getId()
The ID that Route 53 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 Route 53 assigns to the service when you create it.
|
void |
setDescription(String description)
The description that you specify when you create the service.
|
void |
setId(String id)
The ID that Route 53 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; useful for testing and debugging.
|
ServiceSummary |
withArn(String arn)
The Amazon Resource Name (ARN) that Route 53 assigns to the service when you create it.
|
ServiceSummary |
withDescription(String description)
The description that you specify when you create the service.
|
ServiceSummary |
withId(String id)
The ID that Route 53 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 Route 53 assigned to the service when you created it.
id
- The ID that Route 53 assigned to the service when you created it.public String getId()
The ID that Route 53 assigned to the service when you created it.
public ServiceSummary withId(String id)
The ID that Route 53 assigned to the service when you created it.
id
- The ID that Route 53 assigned to the service when you created it.public void setArn(String arn)
The Amazon Resource Name (ARN) that Route 53 assigns to the service when you create it.
arn
- The Amazon Resource Name (ARN) that Route 53 assigns to the service when you create it.public String getArn()
The Amazon Resource Name (ARN) that Route 53 assigns to the service when you create it.
public ServiceSummary withArn(String arn)
The Amazon Resource Name (ARN) that Route 53 assigns to the service when you create it.
arn
- The Amazon Resource Name (ARN) that Route 53 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 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.