@Generated(value="software.amazon.awssdk:codegen") public final class Service extends Object implements StructuredPojo, ToCopyableBuilder<Service.Builder,Service>
A complex type that contains information about the specified service.
Modifier and Type | Class and Description |
---|---|
static interface |
Service.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.
|
static Service.Builder |
builder() |
Instant |
createDate()
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
|
String |
creatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests.
|
String |
description()
The description of the service.
|
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.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HealthCheckConfig |
healthCheckConfig()
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
String |
id()
The ID that Amazon Route 53 assigned to the service when you created it.
|
Integer |
instanceCount()
The number of instances that are currently associated with the service.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the service.
|
static Class<? extends Service.Builder> |
serializableBuilderClass() |
Service.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The ID that Amazon Route 53 assigned to the service when you created it.
public String arn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the service when you create it.
public String name()
The name of the service.
public String description()
The description of the service.
public 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.
public 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.
public 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.
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 Instant createDate()
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
public 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
helps to determine if a specific client owns the namespace.public Service.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Service.Builder,Service>
public static Service.Builder builder()
public static Class<? extends Service.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.