Interface ListPublicKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<ListPublicKeysResponse.Builder,
,ListPublicKeysResponse> SdkBuilder<ListPublicKeysResponse.Builder,
,ListPublicKeysResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPublicKeysResponse
public static interface ListPublicKeysResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<ListPublicKeysResponse.Builder,ListPublicKeysResponse>
-
Method Summary
Modifier and TypeMethodDescriptionReserved for future use.publicKeyList
(Collection<PublicKey> publicKeyList) Contains an array of PublicKey objects.publicKeyList
(Consumer<PublicKey.Builder>... publicKeyList) Contains an array of PublicKey objects.publicKeyList
(PublicKey... publicKeyList) Contains an array of PublicKey objects.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.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 Details
-
publicKeyList
Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
- Parameters:
publicKeyList
- Contains an array of PublicKey objects.The returned public keys may have validity time ranges that overlap.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyList
Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
- Parameters:
publicKeyList
- Contains an array of PublicKey objects.The returned public keys may have validity time ranges that overlap.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyList
Contains an array of PublicKey objects.
The returned public keys may have validity time ranges that overlap.
PublicKey.Builder
avoiding the need to create one manually viaPublicKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicKeyList(List<PublicKey>)
.- Parameters:
publicKeyList
- a consumer that will call methods onPublicKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Reserved for future use.
- Parameters:
nextToken
- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-