@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 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()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice.
|
String |
getDescription()
The description of the service.
|
DnsConfig |
getDnsConfig()
A complex type that contains information about the records that you want 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.
|
HealthCheckCustomConfig |
getHealthCheckCustomConfig() |
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 |
setCreateDate(Date createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC).
|
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice.
|
void |
setDescription(String description)
The description of the service.
|
void |
setDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the records that you want 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 |
setHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig) |
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.
|
Service |
withArn(String arn)
The Amazon Resource Name (ARN) that 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)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice.
|
Service |
withDescription(String description)
The description of the service.
|
Service |
withDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the records that you want 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 |
withHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig) |
Service |
withId(String id)
The ID that 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 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 Service 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 Service 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 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 records that you want Route 53 to create when you register an instance.
dnsConfig
- A complex type that contains information about the records that you want Route 53 to create when you
register an instance.public DnsConfig getDnsConfig()
A complex type that contains information about the records that you want Route 53 to create when you register an instance.
public Service withDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the records that you want Route 53 to create when you register an instance.
dnsConfig
- A complex type that contains information about the records that you want 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, Route 53 associates the health check with all the records that you specify
in DnsConfig
.
For information about the charges for health checks, see 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, Route 53 associates the health check with all the records that
you specify in DnsConfig
.
For information about the charges for health checks, see 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, Route 53 associates the health check with all the records that you specify
in DnsConfig
.
For information about the charges for health checks, see Route 53 Pricing.
DnsConfig
.
For information about the charges for health checks, see 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, Route 53 associates the health check with all the records that you specify
in DnsConfig
.
For information about the charges for health checks, see 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, Route 53 associates the health check with all the records that
you specify in DnsConfig
.
For information about the charges for health checks, see Route 53 Pricing.
public void setHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
healthCheckCustomConfig
- public HealthCheckCustomConfig getHealthCheckCustomConfig()
public Service withHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
healthCheckCustomConfig
- public void setCreateDate(Date createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The value of
CreateDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
createDate
- The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The
value of CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public Date getCreateDate()
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The value of
CreateDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public Service withCreateDate(Date createDate)
The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The value of
CreateDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
createDate
- The date and time that the service was created, in Unix format and Coordinated Universal Time (UTC). The
value of CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of executing the operation twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.public String getCreatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
CreatorRequestId
can be any unique string, for
example, a date/time stamp.public Service withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
executing the operation twice. CreatorRequestId
can be any unique string, for example, a date/time
stamp.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of executing the operation twice. CreatorRequestId
can be any unique string, for example, a
date/time stamp.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.