public static interface ServiceConnectConfiguration.Builder extends SdkPojo, CopyableBuilder<ServiceConnectConfiguration.Builder,ServiceConnectConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ServiceConnectConfiguration.Builder |
enabled(Boolean enabled)
Specifies whether to use Service Connect with this service.
|
default ServiceConnectConfiguration.Builder |
logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration)
Sets the value of the LogConfiguration property for this object.
|
ServiceConnectConfiguration.Builder |
logConfiguration(LogConfiguration logConfiguration)
Sets the value of the LogConfiguration property for this object.
|
ServiceConnectConfiguration.Builder |
namespace(String namespace)
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service
Connect.
|
ServiceConnectConfiguration.Builder |
services(Collection<ServiceConnectService> services)
The list of Service Connect service objects.
|
ServiceConnectConfiguration.Builder |
services(Consumer<ServiceConnectService.Builder>... services)
The list of Service Connect service objects.
|
ServiceConnectConfiguration.Builder |
services(ServiceConnectService... services)
The list of Service Connect service objects.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServiceConnectConfiguration.Builder enabled(Boolean enabled)
Specifies whether to use Service Connect with this service.
enabled - Specifies whether to use Service Connect with this service.ServiceConnectConfiguration.Builder namespace(String namespace)
The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service Connect. The namespace must be in the same Amazon Web Services Region as the Amazon ECS service and cluster. The type of namespace doesn't affect Service Connect. For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.
namespace - The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace for use with Service
Connect. The namespace must be in the same Amazon Web Services Region as the Amazon ECS service and
cluster. The type of namespace doesn't affect Service Connect. For more information about Cloud Map,
see Working with Services in the Cloud Map Developer
Guide.ServiceConnectConfiguration.Builder services(Collection<ServiceConnectService> services)
The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service.
This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.
An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
services - The list of Service Connect service objects. These are names and aliases (also known as endpoints)
that are used by other Amazon ECS services to connect to this service.
This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.
An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
ServiceConnectConfiguration.Builder services(ServiceConnectService... services)
The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service.
This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.
An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
services - The list of Service Connect service objects. These are names and aliases (also known as endpoints)
that are used by other Amazon ECS services to connect to this service.
This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.
An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
ServiceConnectConfiguration.Builder services(Consumer<ServiceConnectService.Builder>... services)
The list of Service Connect service objects. These are names and aliases (also known as endpoints) that are used by other Amazon ECS services to connect to this service.
This field is not required for a "client" Amazon ECS service that's a member of a namespace only to connect to other services within the namespace. An example of this would be a frontend application that accepts incoming requests from either a load balancer that's attached to the service or by other means.
An object selects a port from the task definition, assigns a name for the Cloud Map service, and a list of aliases (endpoints) and ports for client applications to refer to this service.
This is a convenience method that creates an instance of theServiceConnectService.Builder avoiding the need to create
one manually via ServiceConnectService.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #services(List.
services - a consumer that will call methods on
ServiceConnectService.Builder#services(java.util.Collection) ServiceConnectConfiguration.Builder logConfiguration(LogConfiguration logConfiguration)
logConfiguration - The new value for the LogConfiguration property for this object.default ServiceConnectConfiguration.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration)
LogConfiguration.Builder avoiding the
need to create one manually via LogConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to logConfiguration(LogConfiguration).
logConfiguration - a consumer that will call methods on LogConfiguration.BuilderlogConfiguration(LogConfiguration)Copyright © 2022. All rights reserved.