Interface ListApiKeysResponse.Builder
-
- All Superinterfaces:
AppSyncResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListApiKeysResponse.Builder,ListApiKeysResponse>,SdkBuilder<ListApiKeysResponse.Builder,ListApiKeysResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListApiKeysResponse
public static interface ListApiKeysResponse.Builder extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<ListApiKeysResponse.Builder,ListApiKeysResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApiKeysResponse.BuilderapiKeys(Collection<ApiKey> apiKeys)TheApiKeyobjects.ListApiKeysResponse.BuilderapiKeys(Consumer<ApiKey.Builder>... apiKeys)TheApiKeyobjects.ListApiKeysResponse.BuilderapiKeys(ApiKey... apiKeys)TheApiKeyobjects.ListApiKeysResponse.BuildernextToken(String nextToken)An identifier to pass in the next request to this operation to return the next set of items in the list.-
Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
apiKeys
ListApiKeysResponse.Builder apiKeys(Collection<ApiKey> apiKeys)
The
ApiKeyobjects.- Parameters:
apiKeys- TheApiKeyobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeys
ListApiKeysResponse.Builder apiKeys(ApiKey... apiKeys)
The
ApiKeyobjects.- Parameters:
apiKeys- TheApiKeyobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKeys
ListApiKeysResponse.Builder apiKeys(Consumer<ApiKey.Builder>... apiKeys)
The
This is a convenience method that creates an instance of theApiKeyobjects.ApiKey.Builderavoiding the need to create one manually viaApiKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#apiKeys(List.) - Parameters:
apiKeys- 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:
#apiKeys(java.util.Collection)
-
nextToken
ListApiKeysResponse.Builder nextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
- Parameters:
nextToken- An identifier to pass in the next request to this operation to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-