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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
containerName
The container name value to use for the service discovery service.
If the task definition uses the
bridge
orhost
network mode, you must specifyContainerName
andContainerPort
.If the task definition uses the
awsvpc
network mode and a type SRV DNS record, you must specify eitherContainerName
andContainerPort
, orPort
, but not both.- Parameters:
containerName
- The container name value to use for the service discovery service.If the task definition uses the
bridge
orhost
network mode, you must specifyContainerName
andContainerPort
.If the task definition uses the
awsvpc
network mode and a type SRV DNS record, you must specify eitherContainerName
andContainerPort
, 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
bridge
orhost
network mode, you must specifyContainerName
andContainerPort
.If the task definition uses the
awsvpc
network mode and a type SRV DNS record, you must specify eitherContainerName
andContainerPort
, orPort
, but not both.- Parameters:
containerPort
- The port value to use for the service discovery service.If the task definition uses the
bridge
orhost
network mode, you must specifyContainerName
andContainerPort
.If the task definition uses the
awsvpc
network mode and a type SRV DNS record, you must specify eitherContainerName
andContainerPort
, 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
awsvpc
awsvpc 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 theawsvpc
awsvpc 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.
-