Interface ListKeysResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListKeysResponse.Builder,ListKeysResponse>,LocationResponse.Builder,SdkBuilder<ListKeysResponse.Builder,ListKeysResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListKeysResponse
public static interface ListKeysResponse.Builder extends LocationResponse.Builder, SdkPojo, CopyableBuilder<ListKeysResponse.Builder,ListKeysResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListKeysResponse.Builderentries(Collection<ListKeysResponseEntry> entries)Contains API key resources in your Amazon Web Services account.ListKeysResponse.Builderentries(Consumer<ListKeysResponseEntry.Builder>... entries)Contains API key resources in your Amazon Web Services account.ListKeysResponse.Builderentries(ListKeysResponseEntry... entries)Contains API key resources in your Amazon Web Services account.ListKeysResponse.BuildernextToken(String nextToken)A pagination token indicating there are additional pages available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
entries
ListKeysResponse.Builder entries(Collection<ListKeysResponseEntry> entries)
Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.
- Parameters:
entries- Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ListKeysResponse.Builder entries(ListKeysResponseEntry... entries)
Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.
- Parameters:
entries- Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ListKeysResponse.Builder entries(Consumer<ListKeysResponseEntry.Builder>... entries)
Contains API key resources in your Amazon Web Services account. Details include API key name, allowed referers and timestamp for when the API key will expire.
This is a convenience method that creates an instance of theListKeysResponseEntry.Builderavoiding the need to create one manually viaListKeysResponseEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entries(List.) - Parameters:
entries- a consumer that will call methods onListKeysResponseEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection)
-
nextToken
ListKeysResponse.Builder nextToken(String nextToken)
A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.
- Parameters:
nextToken- A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-