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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetApiKeysResponse.Builderitems(Collection<ApiKey> items)The current page of elements from this collection.GetApiKeysResponse.Builderitems(Consumer<ApiKey.Builder>... items)The current page of elements from this collection.GetApiKeysResponse.Builderitems(ApiKey... items)The current page of elements from this collection.GetApiKeysResponse.Builderposition(String position)Sets the value of the Position property for this object.GetApiKeysResponse.Builderwarnings(String... warnings)A list of warning messages logged during the import of API keys when thefailOnWarningsoption is set to true.GetApiKeysResponse.Builderwarnings(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, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
warnings
GetApiKeysResponse.Builder warnings(Collection<String> 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
GetApiKeysResponse.Builder warnings(String... 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
GetApiKeysResponse.Builder position(String 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
GetApiKeysResponse.Builder items(Collection<ApiKey> 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
GetApiKeysResponse.Builder items(ApiKey... 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
GetApiKeysResponse.Builder items(Consumer<ApiKey.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
-