@Generated(value="software.amazon.awssdk:codegen") public final class AwsEcsServiceServiceRegistriesDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,AwsEcsServiceServiceRegistriesDetails>
Information about a service discovery registry to assign to the service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEcsServiceServiceRegistriesDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEcsServiceServiceRegistriesDetails.Builder |
builder() |
String |
containerName()
The container name value to use for the service discovery service.
|
Integer |
containerPort()
The port value to use for the service discovery service.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
port()
The port value to use for a service discovery service that specifies an SRV record.
|
String |
registryArn()
The ARN of the service registry.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEcsServiceServiceRegistriesDetails.Builder> |
serializableBuilderClass() |
AwsEcsServiceServiceRegistriesDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String containerName()
The container name value to use for the service discovery service.
If the task definition uses the bridge or host network mode, you must specify
ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify
either ContainerName and ContainerPort, or Port , but not both.
If the task definition uses the bridge or host network mode, you must specify
ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must
specify either ContainerName and ContainerPort, or Port , but not
both.
public final Integer containerPort()
The port value to use for the service discovery service.
If the task definition uses the bridge or host network mode, you must specify
ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify
either ContainerName and ContainerPort, or Port , but not both.
If the task definition uses the bridge or host network mode, you must specify
ContainerName and ContainerPort.
If the task definition uses the awsvpc network mode and a type SRV DNS record, you must
specify either ContainerName and ContainerPort, or Port , but not
both.
public final Integer port()
The port value to use for a service discovery service that specifies an SRV record. This field can be used if
both the awsvpcawsvpc network mode and SRV records are used.
awsvpcawsvpc network mode and SRV records are used.public final String registryArn()
The ARN of the service registry.
public AwsEcsServiceServiceRegistriesDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,AwsEcsServiceServiceRegistriesDetails>public static AwsEcsServiceServiceRegistriesDetails.Builder builder()
public static Class<? extends AwsEcsServiceServiceRegistriesDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.