Interface CustomPluginConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomPluginConfiguration.Builder,
,CustomPluginConfiguration> SdkBuilder<CustomPluginConfiguration.Builder,
,CustomPluginConfiguration> SdkPojo
- Enclosing class:
CustomPluginConfiguration
@Mutable
@NotThreadSafe
public static interface CustomPluginConfiguration.Builder
extends SdkPojo, CopyableBuilder<CustomPluginConfiguration.Builder,CustomPluginConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionapiSchema
(Consumer<APISchema.Builder> apiSchema) Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.apiSchemaType
(String apiSchemaType) The type of OpenAPI schema to use.apiSchemaType
(APISchemaType apiSchemaType) The type of OpenAPI schema to use.description
(String description) A description for your custom plugin configuration.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, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description for your custom plugin configuration.
- Parameters:
description
- A description for your custom plugin configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiSchemaType
The type of OpenAPI schema to use.
- Parameters:
apiSchemaType
- The type of OpenAPI schema to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiSchemaType
The type of OpenAPI schema to use.
- Parameters:
apiSchemaType
- The type of OpenAPI schema to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
apiSchema
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.
- Parameters:
apiSchema
- Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiSchema
Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.
This is a convenience method that creates an instance of theAPISchema.Builder
avoiding the need to create one manually viaAPISchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapiSchema(APISchema)
.- Parameters:
apiSchema
- a consumer that will call methods onAPISchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-