Interface ListPublicKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPublicKeysResponse.Builder,,ListPublicKeysResponse> IvsRealTimeResponse.Builder,SdkBuilder<ListPublicKeysResponse.Builder,,ListPublicKeysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPublicKeysResponse
public static interface ListPublicKeysResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListPublicKeysResponse.Builder,ListPublicKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more public keys thanmaxResults, usenextTokenin the request to get the next set.publicKeys(Collection<PublicKeySummary> publicKeys) List of the matching public keys (summary information only).publicKeys(Consumer<PublicKeySummary.Builder>... publicKeys) List of the matching public keys (summary information only).publicKeys(PublicKeySummary... publicKeys) List of the matching public keys (summary information only).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
publicKeys
List of the matching public keys (summary information only).
- Parameters:
publicKeys- List of the matching public keys (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeys
List of the matching public keys (summary information only).
- Parameters:
publicKeys- List of the matching public keys (summary information only).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeys
List of the matching public keys (summary information only).
This is a convenience method that creates an instance of thePublicKeySummary.Builderavoiding the need to create one manually viaPublicKeySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topublicKeys(List<PublicKeySummary>).- Parameters:
publicKeys- a consumer that will call methods onPublicKeySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more public keys than
maxResults, usenextTokenin the request to get the next set.- Parameters:
nextToken- If there are more public keys thanmaxResults, usenextTokenin the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-