@Immutable public final class ServiceEndpointKey extends Object
ServiceMetadata.endpointFor(ServiceEndpointKey)
.
An endpoint is uniquely identified by the Region
of that service and the EndpointTag
s associated with that
endpoint. For example, the EndpointTag.FIPS
endpoint in Region.US_WEST_2
.
This can be created via builder()
.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceEndpointKey.Builder |
Modifier and Type | Method and Description |
---|---|
static ServiceEndpointKey.Builder |
builder()
Create a builder for
ServiceEndpointKey s. |
boolean |
equals(Object o) |
int |
hashCode() |
Region |
region()
Retrieve the region associated with the endpoint.
|
Set<EndpointTag> |
tags()
Retrieve the tags associated with the endpoint (or the empty set, to use the default endpoint).
|
String |
toString() |
public static ServiceEndpointKey.Builder builder()
ServiceEndpointKey
s.public Region region()
public Set<EndpointTag> tags()
Copyright © 2022. All rights reserved.