Interface AwsEcsServiceServiceRegistriesDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,,AwsEcsServiceServiceRegistriesDetails> SdkBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,,AwsEcsServiceServiceRegistriesDetails> SdkPojo
- Enclosing class:
AwsEcsServiceServiceRegistriesDetails
-
Method Summary
Modifier and TypeMethodDescriptioncontainerName(String containerName) The container name value to use for the service discovery service.containerPort(Integer containerPort) The port value to use for the service discovery service.The port value to use for a service discovery service that specifies an SRV record.registryArn(String registryArn) The ARN of the service registry.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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 theawsvpcawsvpc network mode and SRV records are used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-