Interface AwsEcsServiceServiceRegistriesDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,AwsEcsServiceServiceRegistriesDetails>,SdkBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,AwsEcsServiceServiceRegistriesDetails>,SdkPojo
- Enclosing class:
- AwsEcsServiceServiceRegistriesDetails
public static interface AwsEcsServiceServiceRegistriesDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsServiceServiceRegistriesDetails.Builder,AwsEcsServiceServiceRegistriesDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEcsServiceServiceRegistriesDetails.BuildercontainerName(String containerName)The container name value to use for the service discovery service.AwsEcsServiceServiceRegistriesDetails.BuildercontainerPort(Integer containerPort)The port value to use for the service discovery service.AwsEcsServiceServiceRegistriesDetails.Builderport(Integer port)The port value to use for a service discovery service that specifies an SRV record.AwsEcsServiceServiceRegistriesDetails.BuilderregistryArn(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, sdkFieldNameToField, sdkFields
-
-
-
-
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
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
AwsEcsServiceServiceRegistriesDetails.Builder containerPort(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.- 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
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 theawsvpcawsvpc 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.
-
-