Package software.amazon.smithy.utils
Interface ToSmithyBuilder<T>
-
- Type Parameters:
T- the type that the builder will build (this)
- All Known Implementing Classes:
ArnReferenceTrait,ArnTrait,AuthDefinitionTrait,AuthorizerDefinition,AuthorizersTrait,BigDecimalShape,BigIntegerShape,BlobShape,BooleanShape,ByteShape,CallbackObject,ClientDiscoveredEndpointTrait,ClientEndpointDiscoveryTrait,CognitoUserPoolsTrait,ComponentsObject,ConditionKeyDefinition,ConditionKeysTrait,CorsTrait,DefineConditionKeysTrait,DeprecatedTrait,DocumentShape,DoubleShape,EffectiveTraitQuery,EncodingObject,EndpointTrait,EnumDefinition,EnumTrait,ExamplesTrait,ExamplesTrait.Example,ExternalDocumentation,ExternalDocumentationTrait,FloatShape,HttpApiKeyAuthTrait,HttpRequestTestCase,HttpResponseTestCase,HttpTrait,IdRefTrait,InfoObject,IntegerShape,IntegrationResponse,IntegrationTrait,JsonSchemaConverter,LengthTrait,LinkObject,ListShape,LongShape,MapShape,MediaTypeObject,MemberShape,MockIntegrationTrait,Model,ObjectNode,OpenApi,OperationObject,OperationShape,PaginatedTrait,ParameterObject,PathItem,PluginContext,ProjectionConfig,ProtocolDefinitionTrait,RangeTrait,ReferencesTrait,ReferencesTrait.Reference,RequestBodyObject,RequiredActionsTrait,ResourceShape,ResponseObject,RetryableTrait,Schema,SchemaDocument,SecurityScheme,ServerObject,ServiceShape,ServiceTrait,SetShape,ShortShape,SigV4Trait,SmithyBuildConfig,StringShape,StructureShape,SuppressTrait,Symbol,SymbolDependency,SymbolReference,TagObject,TagsTrait,TimestampShape,TraitDefinition,TransformContext,UnionShape,ValidationEvent,XmlNamespaceTrait,XmlObject
public interface ToSmithyBuilder<T>Provides a way to get from an instance of T to aSmithyBuilder.This allows modification of an otherwise immutable object using the source object as a base.
-
-
Method Summary
Modifier and Type Method Description SmithyBuilder<T>toBuilder()Take this object and create a builder that contains all of the current property values of this object.
-
-
-
Method Detail
-
toBuilder
SmithyBuilder<T> toBuilder()
Take this object and create a builder that contains all of the current property values of this object.- Returns:
- a builder for type T
-
-