Class AwsEcsServiceServiceRegistriesDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEcsServiceServiceRegistriesDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,AwsEcsServiceServiceRegistriesDetails>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEcsServiceServiceRegistriesDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsEcsServiceServiceRegistriesDetails.Builderbuilder()StringcontainerName()The container name value to use for the service discovery service.IntegercontainerPort()The port value to use for the service discovery service.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerport()The port value to use for a service discovery service that specifies an SRV record.StringregistryArn()The ARN of the service registry.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsEcsServiceServiceRegistriesDetails.Builder>serializableBuilderClass()AwsEcsServiceServiceRegistriesDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
containerName
public final String containerName()
The container name value to use for the service discovery service.
If the task definition uses the
bridgeorhostnetwork mode, you must specifyContainerNameandContainerPort.If the task definition uses the
awsvpcnetwork mode and a type SRV DNS record, you must specify eitherContainerNameandContainerPort, orPort, but not both.- Returns:
- The container name value to use for the service discovery service.
If the task definition uses the
bridgeorhostnetwork mode, you must specifyContainerNameandContainerPort.If the task definition uses the
awsvpcnetwork mode and a type SRV DNS record, you must specify eitherContainerNameandContainerPort, orPort, but not both.
-
containerPort
public final Integer containerPort()
The port value to use for the service discovery service.
If the task definition uses the
bridgeorhostnetwork mode, you must specifyContainerNameandContainerPort.If the task definition uses the
awsvpcnetwork mode and a type SRV DNS record, you must specify eitherContainerNameandContainerPort, orPort, but not both.- Returns:
- The port value to use for the service discovery service.
If the task definition uses the
bridgeorhostnetwork mode, you must specifyContainerNameandContainerPort.If the task definition uses the
awsvpcnetwork mode and a type SRV DNS record, you must specify eitherContainerNameandContainerPort, orPort, but not both.
-
port
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.- Returns:
- 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.
-
registryArn
public final String registryArn()
The ARN of the service registry.
- Returns:
- The ARN of the service registry.
-
toBuilder
public AwsEcsServiceServiceRegistriesDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,AwsEcsServiceServiceRegistriesDetails>
-
builder
public static AwsEcsServiceServiceRegistriesDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEcsServiceServiceRegistriesDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-