@Generated(value="software.amazon.awssdk:codegen") public final class ServiceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceSummary.Builder,ServiceSummary>
A complex type that contains information about a specified service.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceSummary.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
|
static ServiceSummary.Builder |
builder() |
Instant |
createDate()
The date and time that the service was created.
|
String |
description()
The description that you specify when you create the service.
|
DnsConfig |
dnsConfig()
Returns the value of the DnsConfig property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
HealthCheckConfig |
healthCheckConfig()
Returns the value of the HealthCheckConfig property for this object.
|
HealthCheckCustomConfig |
healthCheckCustomConfig()
Returns the value of the HealthCheckCustomConfig property for this object.
|
String |
id()
The ID that AWS Cloud Map assigned to the service when you created it.
|
Integer |
instanceCount()
The number of instances that are currently associated with the service.
|
String |
name()
The name of the service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceSummary.Builder> |
serializableBuilderClass() |
ServiceSummary.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 AWS Cloud Map assigned to the service when you created it.
public String arn()
The Amazon Resource Name (ARN) that AWS Cloud Map assigns to the service when you create it.
public String name()
The name of the service.
public String description()
The description that you specify when you create 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()
public HealthCheckConfig healthCheckConfig()
public HealthCheckCustomConfig healthCheckCustomConfig()
public Instant createDate()
The date and time that the service was created.
public ServiceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServiceSummary.Builder,ServiceSummary>
public static ServiceSummary.Builder builder()
public static Class<? extends ServiceSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.