@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()
A unique string that identifies the request and that allows failed
CreateService requests to be
retried without the risk of executing the operation twice. |
String |
getDescription()
A description for the service.
|
DnsConfig |
getDnsConfig()
A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to create
when you register an instance.
|
HealthCheckConfig |
getHealthCheckConfig()
Public DNS namespaces only. A complex type that contains settings for an optional Route 53 health check.
|
HealthCheckCustomConfig |
getHealthCheckCustomConfig()
A complex type that contains information about an optional custom health check.
|
String |
getName()
The name that you want to assign to the service.
|
String |
getNamespaceId()
The ID of the namespace that you want to use to create the service.
|
int |
hashCode() |
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed
CreateService requests to be
retried without the risk of executing the operation twice. |
void |
setDescription(String description)
A description for the service.
|
void |
setDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to create
when you register an instance.
|
void |
setHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional Route 53 health check.
|
void |
setHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
|
void |
setName(String name)
The name that you want to assign to the service.
|
void |
setNamespaceId(String namespaceId)
The ID of the namespace that you want to use to create the service.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceRequest |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed
CreateService requests to be
retried without the risk of executing the operation twice. |
CreateServiceRequest |
withDescription(String description)
A description for the service.
|
CreateServiceRequest |
withDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to create
when you register an instance.
|
CreateServiceRequest |
withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional Route 53 health check.
|
CreateServiceRequest |
withHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
|
CreateServiceRequest |
withName(String name)
The name that you want to assign to the service.
|
CreateServiceRequest |
withNamespaceId(String namespaceId)
The ID of the namespace that you want to use to create 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 setNamespaceId(String namespaceId)
The ID of the namespace that you want to use to create the service.
namespaceId
- The ID of the namespace that you want to use to create the service.public String getNamespaceId()
The ID of the namespace that you want to use to create the service.
public CreateServiceRequest withNamespaceId(String namespaceId)
The ID of the namespace that you want to use to create the service.
namespaceId
- The ID of the namespace that you want to use to create the service.public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed CreateService
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 CreateService
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 CreateService
requests to be
retried without the risk of executing the operation twice. CreatorRequestId
can be any unique
string, for example, a date/time stamp.
CreateService
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 CreateServiceRequest withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed CreateService
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 CreateService
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 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 Amazon Route 53 records that you want AWS Cloud Map to create when you register an instance.
dnsConfig
- A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to
create when you register an instance.public DnsConfig getDnsConfig()
A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to create when you register an instance.
public CreateServiceRequest withDnsConfig(DnsConfig dnsConfig)
A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map to create when you register an instance.
dnsConfig
- A complex type that contains information about the Amazon Route 53 records that you want AWS Cloud Map 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 Route 53 health check.
If you specify settings for a health check, AWS Cloud Map associates the health check with all the Route 53 DNS
records that you specify in DnsConfig
.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
For information about the charges for health checks, see AWS Cloud Map Pricing.
healthCheckConfig
- Public DNS namespaces only. A complex type that contains settings for an optional Route 53 health
check. If you specify settings for a health check, AWS Cloud Map associates the health check with all the
Route 53 DNS records that you specify in DnsConfig
.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or HealthCheckConfig
but not both.
For information about the charges for health checks, see AWS Cloud Map Pricing.
public HealthCheckConfig getHealthCheckConfig()
Public DNS namespaces only. A complex type that contains settings for an optional Route 53 health check.
If you specify settings for a health check, AWS Cloud Map associates the health check with all the Route 53 DNS
records that you specify in DnsConfig
.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
For information about the charges for health checks, see AWS Cloud Map Pricing.
DnsConfig
.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or HealthCheckConfig
but not both.
For information about the charges for health checks, see AWS Cloud Map Pricing.
public CreateServiceRequest withHealthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS namespaces only. A complex type that contains settings for an optional Route 53 health check.
If you specify settings for a health check, AWS Cloud Map associates the health check with all the Route 53 DNS
records that you specify in DnsConfig
.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
For information about the charges for health checks, see AWS Cloud Map Pricing.
healthCheckConfig
- Public DNS namespaces only. A complex type that contains settings for an optional Route 53 health
check. If you specify settings for a health check, AWS Cloud Map associates the health check with all the
Route 53 DNS records that you specify in DnsConfig
.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or HealthCheckConfig
but not both.
For information about the charges for health checks, see AWS Cloud Map Pricing.
public void setHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
healthCheckCustomConfig
- A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or HealthCheckConfig
but not both.
public HealthCheckCustomConfig getHealthCheckCustomConfig()
A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or HealthCheckConfig
but not both.
public CreateServiceRequest withHealthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or
HealthCheckConfig
but not both.
healthCheckCustomConfig
- A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig
or HealthCheckConfig
but not both.
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.