Interface ServiceConnectServiceResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceConnectServiceResource.Builder,
,ServiceConnectServiceResource> SdkBuilder<ServiceConnectServiceResource.Builder,
,ServiceConnectServiceResource> SdkPojo
- Enclosing class:
ServiceConnectServiceResource
-
Method Summary
Modifier and TypeMethodDescriptiondiscoveryArn
(String discoveryArn) The Amazon Resource Name (ARN) for the namespace in Cloud Map that matches the discovery name for this Service Connect resource.discoveryName
(String discoveryName) The discovery name of this Service Connect resource.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
-
discoveryName
The discovery name of this Service Connect resource.
The
discoveryName
is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. The name can contain up to 64 characters. The name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen.If the
discoveryName
isn't specified, the port mapping name from the task definition is used inportName.namespace
.- Parameters:
discoveryName
- The discovery name of this Service Connect resource.The
discoveryName
is the name of the new Cloud Map service that Amazon ECS creates for this Amazon ECS service. This must be unique within the Cloud Map namespace. The name can contain up to 64 characters. The name can include lowercase letters, numbers, underscores (_), and hyphens (-). The name can't start with a hyphen.If the
discoveryName
isn't specified, the port mapping name from the task definition is used inportName.namespace
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
discoveryArn
The Amazon Resource Name (ARN) for the namespace in Cloud Map that matches the discovery name for this Service Connect resource. You can use this ARN in other integrations with Cloud Map. However, Service Connect can't ensure connectivity outside of Amazon ECS.
- Parameters:
discoveryArn
- The Amazon Resource Name (ARN) for the namespace in Cloud Map that matches the discovery name for this Service Connect resource. You can use this ARN in other integrations with Cloud Map. However, Service Connect can't ensure connectivity outside of Amazon ECS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-