Interface GetApiKeysResponse.Builder
- All Superinterfaces:
ApiGatewayResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetApiKeysResponse.Builder,,GetApiKeysResponse> SdkBuilder<GetApiKeysResponse.Builder,,GetApiKeysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetApiKeysResponse
public static interface GetApiKeysResponse.Builder
extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetApiKeysResponse.Builder,GetApiKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ApiKey> items) The current page of elements from this collection.items(Consumer<ApiKey.Builder>... items) The current page of elements from this collection.The current page of elements from this collection.Sets the value of the Position property for this object.A list of warning messages logged during the import of API keys when thefailOnWarningsoption is set to true.warnings(Collection<String> warnings) A list of warning messages logged during the import of API keys when thefailOnWarningsoption is set to true.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
warnings
A list of warning messages logged during the import of API keys when the
failOnWarningsoption is set to true.- Parameters:
warnings- A list of warning messages logged during the import of API keys when thefailOnWarningsoption is set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
A list of warning messages logged during the import of API keys when the
failOnWarningsoption is set to true.- Parameters:
warnings- A list of warning messages logged during the import of API keys when thefailOnWarningsoption is set to true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
Sets the value of the Position property for this object.- Parameters:
position- The new value for the Position property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The current page of elements from this collection.
- Parameters:
items- The current page of elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The current page of elements from this collection.
- Parameters:
items- The current page of elements from this collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The current page of elements from this collection.
This is a convenience method that creates an instance of theApiKey.Builderavoiding the need to create one manually viaApiKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ApiKey>).- Parameters:
items- a consumer that will call methods onApiKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-