Class ClientDiscoveredEndpointTrait.Builder
- java.lang.Object
-
- software.amazon.smithy.model.traits.AbstractTraitBuilder<ClientDiscoveredEndpointTrait,ClientDiscoveredEndpointTrait.Builder>
-
- software.amazon.smithy.aws.traits.clientendpointdiscovery.ClientDiscoveredEndpointTrait.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ClientDiscoveredEndpointTrait>
- Enclosing class:
- ClientDiscoveredEndpointTrait
public static final class ClientDiscoveredEndpointTrait.Builder extends AbstractTraitBuilder<ClientDiscoveredEndpointTrait,ClientDiscoveredEndpointTrait.Builder>
Builder forClientDiscoveredEndpointTrait
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientDiscoveredEndpointTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.ClientDiscoveredEndpointTrait.Builder
required(boolean required)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public ClientDiscoveredEndpointTrait build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
required
public ClientDiscoveredEndpointTrait.Builder required(boolean required)
-
-