Interface ListPublicKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPublicKeysResponse.Builder,
,ListPublicKeysResponse> IvsRealTimeResponse.Builder
,SdkBuilder<ListPublicKeysResponse.Builder,
,ListPublicKeysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPublicKeysResponse
@Mutable
@NotThreadSafe
public static interface ListPublicKeysResponse.Builder
extends IvsRealTimeResponse.Builder, SdkPojo, CopyableBuilder<ListPublicKeysResponse.Builder,ListPublicKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are more public keys thanmaxResults
, usenextToken
in 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
copy
Methods inherited from interface software.amazon.awssdk.services.ivsrealtime.model.IvsRealTimeResponse.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, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaPublicKeySummary.builder()
.When the
Consumer
completes,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
, usenextToken
in the request to get the next set.- Parameters:
nextToken
- If there are more public keys thanmaxResults
, usenextToken
in the request to get the next set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-