Class AwsEcsServiceServiceRegistriesDetails

    • Method Detail

      • containerName

        public 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.

        Returns:
        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.

      • containerPort

        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.

        Returns:
        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.

      • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)