Interface HttpApiSchemaConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpApiSchemaConfiguration.Builder,,HttpApiSchemaConfiguration> SdkBuilder<HttpApiSchemaConfiguration.Builder,,HttpApiSchemaConfiguration> SdkPojo
- Enclosing class:
HttpApiSchemaConfiguration
@Mutable
@NotThreadSafe
public static interface HttpApiSchemaConfiguration.Builder
extends SdkPojo, CopyableBuilder<HttpApiSchemaConfiguration.Builder,HttpApiSchemaConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsource(Consumer<ApiSchemaConfiguration.Builder> source) Sets the value of the Source property for this object.source(ApiSchemaConfiguration source) Sets the value of the Source property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
Sets the value of the Source property for this object.- Parameters:
source- The new value for the Source property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Sets the value of the Source property for this object. This is a convenience method that creates an instance of theApiSchemaConfiguration.Builderavoiding the need to create one manually viaApiSchemaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(ApiSchemaConfiguration).- Parameters:
source- a consumer that will call methods onApiSchemaConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-