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
Modifier and TypeMethodDescriptionThe JSON or YAML-formatted payload defining the OpenAPI schema for the action group.default APISchema.Builder
Contains details about the S3 object containing the OpenAPI schema for the action group.s3
(S3Identifier s3) Contains details about the S3 object containing the OpenAPI schema for the action group.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 Details
-
payload
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
- Parameters:
payload
- The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
- Parameters:
s3
- Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
This is a convenience method that creates an instance of theS3Identifier.Builder
avoiding the need to create one manually viaS3Identifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3(S3Identifier)
.- Parameters:
s3
- a consumer that will call methods onS3Identifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-