@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Service extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains information about the specified service.
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.
|
Date |
getCreateDate()
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
|
String |
getCreatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests.
|
String |
getDescription()
The description of the service.
|
DnsConfig |
getDnsConfig()
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create
when you register an instance.
|
HealthCheckConfig |
getHealthCheckConfig()
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
String |
getId()
The ID that Amazon 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 Amazon Route 53 assigns to the service when you create it.
|
void |
setCreateDate(Date createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
|
void |
setCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
void |
setDescription(String description)
The description of the service.
|
void |
setDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create
when you register an instance.
|
void |
setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
void |
setId(String id)
The ID that Amazon 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.
|
Service |
withArn(String arn)
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.
|
Service |
withCreateDate(Date createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
|
Service |
withCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
Service |
withDescription(String description)
The description of the service.
|
Service |
withDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create
when you register an instance.
|
Service |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
Service |
withId(String id)
The ID that Amazon Route 53 assigned to the service when you created it.
|
Service |
withInstanceCount(Integer instanceCount)
The number of instances that are currently associated with the service.
|
Service |
withName(String name)
The name of the service.
|
public void setId(String id)
The ID that Amazon Route 53 assigned to the service when you created it.
id
- The ID that Amazon Route 53 assigned to the service when you created it.public String getId()
The ID that Amazon Route 53 assigned to the service when you created it.
public Service withId(String id)
The ID that Amazon Route 53 assigned to the service when you created it.
id
- The ID that Amazon Route 53 assigned to the service when you created it.public void setArn(String arn)
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.
arn
- The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.public String getArn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.
public Service withArn(String arn)
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.
arn
- The Amazon Resource Name (ARN) that Amazon 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 Service withName(String name)
The name of the service.
name
- The name of the service.public void setDescription(String description)
The description of the service.
description
- The description of the service.public String getDescription()
The description of the service.
public Service withDescription(String description)
The description of the service.
description
- The description of 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 Service 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)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
dnsConfig
- A complex type that contains information about the resource record sets that you want Amazon Route 53 to
create when you register an instance.public DnsConfig getDnsConfig()
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
public Service withDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
dnsConfig
- A complex type that contains information about the resource record sets that you want Amazon Route 53 to
create when you register an instance.public void setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check. If you
specify settings for a health check, Amazon Route 53 associates the health check with all the resource record
sets that you specify in DnsConfig
.
The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing.
healthCheckConfig
- Public DNS namespaces only. A complex type that contains settings for an optional health check. If
you specify settings for a health check, Amazon Route 53 associates the health check with all the resource
record sets that you specify in DnsConfig
. The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing.
public HealthCheckConfig getHealthCheckConfig()
Public DNS namespaces only. A complex type that contains settings for an optional health check. If you
specify settings for a health check, Amazon Route 53 associates the health check with all the resource record
sets that you specify in DnsConfig
.
The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing.
DnsConfig
. The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing.
public Service withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check. If you
specify settings for a health check, Amazon Route 53 associates the health check with all the resource record
sets that you specify in DnsConfig
.
The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing.
healthCheckConfig
- Public DNS namespaces only. A complex type that contains settings for an optional health check. If
you specify settings for a health check, Amazon Route 53 associates the health check with all the resource
record sets that you specify in DnsConfig
. The health check uses 30 seconds as the request interval. This is the number of seconds between the time that each Amazon Route 53 health checker gets a response from your endpoint and the time that it sends the next health check request. A health checker in each data center around the world sends your endpoint a health check request every 30 seconds. On average, your endpoint receives a health check request about every two seconds. Health checkers in different data centers don't coordinate with one another, so you'll sometimes see several requests per second followed by a few seconds with no health checks at all.
For information about the charges for health checks, see Amazon Route 53 Pricing.
public void setCreateDate(Date createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
createDate
- The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).public Date getCreateDate()
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
public Service withCreateDate(Date createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
createDate
- The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).public void setCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests. CreatorRequestId
helps to determine if a specific client owns the namespace.
creatorRequestId
- An optional parameter that you can use to resolve concurrent creation requests.
CreatorRequestId
helps to determine if a specific client owns the namespace.public String getCreatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests. CreatorRequestId
helps to determine if a specific client owns the namespace.
CreatorRequestId
helps to determine if a specific client owns the namespace.public Service withCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests. CreatorRequestId
helps to determine if a specific client owns the namespace.
creatorRequestId
- An optional parameter that you can use to resolve concurrent creation requests.
CreatorRequestId
helps to determine if a specific client owns the namespace.public String toString()
toString
in class Object
Object.toString()
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.