Interface AwsEcsServiceServiceRegistriesDetails.Builder

    • Method Detail

      • containerName

        AwsEcsServiceServiceRegistriesDetails.Builder containerName​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • containerPort

        AwsEcsServiceServiceRegistriesDetails.Builder containerPort​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • port

        AwsEcsServiceServiceRegistriesDetails.Builder port​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • registryArn

        AwsEcsServiceServiceRegistriesDetails.Builder registryArn​(String registryArn)

        The ARN of the service registry.

        Parameters:
        registryArn - The ARN of the service registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.