Interface APISchema.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<APISchema.Builder,APISchema>,SdkBuilder<APISchema.Builder,APISchema>,SdkPojo
- Enclosing class:
- APISchema
public static interface APISchema.Builder extends SdkPojo, CopyableBuilder<APISchema.Builder,APISchema>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description APISchema.Builderpayload(String payload)The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.default APISchema.Builders3(Consumer<S3.Builder> s3)Contains details about the S3 object containing the OpenAPI schema for a custom plugin.APISchema.Builders3(S3 s3)Contains details about the S3 object containing the OpenAPI schema for a custom plugin.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
payload
APISchema.Builder payload(String payload)
The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.
- Parameters:
payload- The JSON or YAML-formatted payload defining the OpenAPI schema for a custom plugin.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
APISchema.Builder s3(S3 s3)
Contains details about the S3 object containing the OpenAPI schema for a custom plugin. The schema could be in either JSON or YAML format.
- Parameters:
s3- Contains details about the S3 object containing the OpenAPI schema for a custom plugin. The schema could be in either JSON or YAML format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default APISchema.Builder s3(Consumer<S3.Builder> s3)
Contains details about the S3 object containing the OpenAPI schema for a custom plugin. The schema could be in either JSON or YAML format.
This is a convenience method that creates an instance of theS3.Builderavoiding the need to create one manually viaS3.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3).- Parameters:
s3- a consumer that will call methods onS3.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3(S3)
-
-