public static interface ServiceSummary.Builder extends SdkPojo, CopyableBuilder<ServiceSummary.Builder,ServiceSummary>
| Modifier and Type | Method and Description |
|---|---|
ServiceSummary.Builder |
arn(String arn)
The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.
|
ServiceSummary.Builder |
createDate(Instant createDate)
The date and time that the service was created.
|
ServiceSummary.Builder |
description(String description)
The description that you specify when you create the service.
|
default ServiceSummary.Builder |
dnsConfig(Consumer<DnsConfig.Builder> dnsConfig)
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
|
ServiceSummary.Builder |
dnsConfig(DnsConfig dnsConfig)
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
|
default ServiceSummary.Builder |
healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
Public DNS and HTTP namespaces only. Settings for an optional health check.
|
ServiceSummary.Builder |
healthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS and HTTP namespaces only. Settings for an optional health check.
|
default ServiceSummary.Builder |
healthCheckCustomConfig(Consumer<HealthCheckCustomConfig.Builder> healthCheckCustomConfig)
Information about an optional custom health check.
|
ServiceSummary.Builder |
healthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
Information about an optional custom health check.
|
ServiceSummary.Builder |
id(String id)
The ID that Cloud Map assigned to the service when you created it.
|
ServiceSummary.Builder |
instanceCount(Integer instanceCount)
The number of instances that are currently associated with the service.
|
ServiceSummary.Builder |
name(String name)
The name of the service.
|
ServiceSummary.Builder |
type(ServiceType type)
Describes the systems that can be used to discover the service instances.
|
ServiceSummary.Builder |
type(String type)
Describes the systems that can be used to discover the service instances.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServiceSummary.Builder id(String id)
The ID that Cloud Map assigned to the service when you created it.
id - The ID that Cloud Map assigned to the service when you created it.ServiceSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.
arn - The Amazon Resource Name (ARN) that Cloud Map assigns to the service when you create it.ServiceSummary.Builder name(String name)
The name of the service.
name - The name of the service.ServiceSummary.Builder type(String type)
Describes the systems that can be used to discover the service instances.
The service instances can be discovered using either DNS queries or the DiscoverInstances API
operation.
The service instances can only be discovered using the DiscoverInstances API operation.
Reserved.
type - Describes the systems that can be used to discover the service instances.
The service instances can be discovered using either DNS queries or the DiscoverInstances
API operation.
The service instances can only be discovered using the DiscoverInstances API operation.
Reserved.
ServiceType,
ServiceTypeServiceSummary.Builder type(ServiceType type)
Describes the systems that can be used to discover the service instances.
The service instances can be discovered using either DNS queries or the DiscoverInstances API
operation.
The service instances can only be discovered using the DiscoverInstances API operation.
Reserved.
type - Describes the systems that can be used to discover the service instances.
The service instances can be discovered using either DNS queries or the DiscoverInstances
API operation.
The service instances can only be discovered using the DiscoverInstances API operation.
Reserved.
ServiceType,
ServiceTypeServiceSummary.Builder description(String description)
The description that you specify when you create the service.
description - The description that you specify when you create the service.ServiceSummary.Builder instanceCount(Integer instanceCount)
The number of instances that are currently associated with the service. Instances that were previously associated with the service but that are deleted aren't included in the count. The count might not reflect pending registrations and deregistrations.
instanceCount - The number of instances that are currently associated with the service. Instances that were previously
associated with the service but that are deleted aren't included in the count. The count might not
reflect pending registrations and deregistrations.ServiceSummary.Builder dnsConfig(DnsConfig dnsConfig)
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
dnsConfig - Information about the Route 53 DNS records that you want Cloud Map to create when you register an
instance.default ServiceSummary.Builder dnsConfig(Consumer<DnsConfig.Builder> dnsConfig)
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
This is a convenience method that creates an instance of theDnsConfig.Builder avoiding the need to
create one manually via DnsConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to dnsConfig(DnsConfig).
dnsConfig - a consumer that will call methods on DnsConfig.BuilderdnsConfig(DnsConfig)ServiceSummary.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings
for a health check, Cloud Map associates the health check with the records that you specify in
DnsConfig.
healthCheckConfig - Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify
settings for a health check, Cloud Map associates the health check with the records that you specify
in DnsConfig.default ServiceSummary.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings
for a health check, Cloud Map associates the health check with the records that you specify in
DnsConfig.
HealthCheckConfig.Builder avoiding the
need to create one manually via HealthCheckConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to healthCheckConfig(HealthCheckConfig).
healthCheckConfig - a consumer that will call methods on HealthCheckConfig.BuilderhealthCheckConfig(HealthCheckConfig)ServiceSummary.Builder healthCheckCustomConfig(HealthCheckCustomConfig healthCheckCustomConfig)
Information about an optional custom health check. A custom health check, which requires that you use a third-party health checker to evaluate the health of your resources, is useful in the following circumstances:
You can't use a health check that's defined by HealthCheckConfig because the resource isn't
available over the internet. For example, you can use a custom health check when the instance is in an Amazon
VPC. (To check the health of resources in a VPC, the health checker must also be in the VPC.)
You want to use a third-party health checker regardless of where your resources are located.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig or
HealthCheckConfig but not both.
healthCheckCustomConfig - Information about an optional custom health check. A custom health check, which requires that you use
a third-party health checker to evaluate the health of your resources, is useful in the following
circumstances:
You can't use a health check that's defined by HealthCheckConfig because the resource
isn't available over the internet. For example, you can use a custom health check when the instance is
in an Amazon VPC. (To check the health of resources in a VPC, the health checker must also be in the
VPC.)
You want to use a third-party health checker regardless of where your resources are located.
If you specify a health check configuration, you can specify either
HealthCheckCustomConfig or HealthCheckConfig but not both.
default ServiceSummary.Builder healthCheckCustomConfig(Consumer<HealthCheckCustomConfig.Builder> healthCheckCustomConfig)
Information about an optional custom health check. A custom health check, which requires that you use a third-party health checker to evaluate the health of your resources, is useful in the following circumstances:
You can't use a health check that's defined by HealthCheckConfig because the resource isn't
available over the internet. For example, you can use a custom health check when the instance is in an Amazon
VPC. (To check the health of resources in a VPC, the health checker must also be in the VPC.)
You want to use a third-party health checker regardless of where your resources are located.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig or
HealthCheckConfig but not both.
HealthCheckCustomConfig.Builder avoiding the need to create one manually via
HealthCheckCustomConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to healthCheckCustomConfig(HealthCheckCustomConfig).
healthCheckCustomConfig - a consumer that will call methods on HealthCheckCustomConfig.BuilderhealthCheckCustomConfig(HealthCheckCustomConfig)ServiceSummary.Builder createDate(Instant createDate)
The date and time that the service was created.
createDate - The date and time that the service was created.Copyright © 2023. All rights reserved.