Class ClientDiscoveredEndpointTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.aws.traits.clientendpointdiscovery.ClientDiscoveredEndpointTrait
- All Implemented Interfaces:
software.amazon.smithy.model.FromSourceLocation,software.amazon.smithy.model.node.ToNode,software.amazon.smithy.model.shapes.ToShapeId,software.amazon.smithy.model.traits.Trait,software.amazon.smithy.utils.ToSmithyBuilder<ClientDiscoveredEndpointTrait>
public final class ClientDiscoveredEndpointTrait
extends software.amazon.smithy.model.traits.AbstractTrait
implements software.amazon.smithy.utils.ToSmithyBuilder<ClientDiscoveredEndpointTrait>
Indicates that the target operation should use the SDK's endpoint discovery
logic.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forClientDiscoveredEndpointTrait.static final class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected software.amazon.smithy.model.node.Nodebooleansoftware.amazon.smithy.utils.SmithyBuilder<ClientDiscoveredEndpointTrait>Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
Field Details
-
ID
public static final software.amazon.smithy.model.shapes.ShapeId ID
-
-
Method Details
-
builder
- Returns:
- Returns a builder used to create
ClientDiscoveredEndpointTrait
-
isRequired
public boolean isRequired()- Returns:
- Returns whether or not the service requires endpoint discovery.
-
createNode
protected software.amazon.smithy.model.node.Node createNode()- Specified by:
createNodein classsoftware.amazon.smithy.model.traits.AbstractTrait
-
toBuilder
- Specified by:
toBuilderin interfacesoftware.amazon.smithy.utils.ToSmithyBuilder<ClientDiscoveredEndpointTrait>
-