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,ArrayNode,ArtifactDefinitions,AuthDefinitionTrait,AuthorizerDefinition,AuthorizersTrait,AwsArn,AwsQueryErrorTrait,BigDecimalShape,BigIntegerShape,BlobShape,BooleanShape,ByteShape,CallbackObject,CfnResource,CfnResourceProperty,CfnResourceTrait,ClientContextParamDefinition,ClientContextParamsTrait,ClientDiscoveredEndpointTrait,ClientEndpointDiscoveryTrait,CognitoUserPoolsTrait,ComponentsObject,ConditionKeyDefinition,ConditionKeysTrait,ContextParamTrait,CorsTrait,DefineConditionKeysTrait,DeprecatedTrait,DocumentShape,DoubleShape,EffectiveTraitQuery,EncodingObject,Endpoint,EndpointRuleSetTrait,EndpointTestCase,EndpointTestExpectation,EndpointTestOperationInput,EndpointTestsTrait,EndpointTrait,EnumDefinition,EnumShape,EnumTrait,EnumValueTrait,ExampleObject,ExamplesTrait,ExamplesTrait.ErrorExample,ExamplesTrait.Example,ExpectedEndpoint,ExternalDocumentation,ExternalDocumentationTrait,FloatShape,FunctionNode,Handler,HttpApiKeyAuthTrait,HttpChecksumTrait,HttpMalformedRequestDefinition,HttpMalformedRequestTestCase,HttpMalformedResponseBodyDefinition,HttpMalformedResponseDefinition,HttpRequestTestCase,HttpResponseTestCase,HttpTrait,IamResourceTrait,IdRefTrait,InfoObject,IntegerShape,IntegrationResponse,IntegrationTrait,IntEnumShape,JsonSchemaConverter,LengthTrait,LinkObject,ListShape,LongShape,MapShape,MediaTypeObject,MemberShape,MixinTrait,MockIntegrationTrait,Model,ObjectNode,OpenApi,OperationObject,OperationShape,PaginatedTrait,Parameter,ParameterObject,Parameters,Partition,PartitionOutputs,Partitions,PathItem,PluginContext,ProjectionConfig,Property,PropertyTrait,ProtocolDefinitionTrait,RangeTrait,RecommendedTrait,ReferencesTrait,ReferencesTrait.Reference,RegionOverride,Remote,RequestBodyObject,RequiredActionsTrait,ResourceSchema,ResourceShape,ResponseObject,RetryableTrait,Schema,SchemaDocument,SecurityScheme,ServerObject,ServiceShape,ServiceTrait,SetShape,ShapeLink,ShortShape,SigV4Trait,SmithyBuildConfig,StaticContextParamDefinition,StaticContextParamsTrait,StringShape,StructureShape,SupportedPrincipalTypesTrait,SuppressTrait,Symbol,SymbolDependency,SymbolReference,SyntheticEnumTrait,TagEnabledTrait,TaggableApiConfig,TaggableTrait,Tagging,TagObject,TagsTrait,TimestampShape,TraceFile,TraceMetadata,TraitDefinition,TransformContext,UnionShape,ValidationEvent,WaitableTrait,Waiter,XmlNamespaceTrait,XmlObject
public interface ToSmithyBuilder<T>
Provides a way to get from an instance of T to a
SmithyBuilder.
This allows modification of an otherwise immutable object using the source object as a base.
-
Method Summary
Modifier and TypeMethodDescriptionTake this object and create a builder that contains all of the current property values of this object.
-
Method Details
-
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
-