@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateServiceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateServiceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCreatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests.
|
String |
getDescription()
A description for 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 |
getName()
The name that you want to assign to the service.
|
int |
hashCode() |
void |
setCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
void |
setDescription(String description)
A description for 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 |
setName(String name)
The name that you want to assign to the service.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateServiceRequest |
withCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
CreateServiceRequest |
withDescription(String description)
A description for the service.
|
CreateServiceRequest |
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.
|
CreateServiceRequest |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional health check.
|
CreateServiceRequest |
withName(String name)
The name that you want to assign to the service.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name that you want to assign to the service.
name
- The name that you want to assign to the service.public String getName()
The name that you want to assign to the service.
public CreateServiceRequest withName(String name)
The name that you want to assign to the service.
name
- The name that you want to assign to the service.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 CreateServiceRequest 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 void setDescription(String description)
A description for the service.
description
- A description for the service.public String getDescription()
A description for the service.
public CreateServiceRequest withDescription(String description)
A description for the service.
description
- A description for the service.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 CreateServiceRequest 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 CreateServiceRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateServiceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.