Interface ListPublicKeysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<ListPublicKeysResponse.Builder,,ListPublicKeysResponse> SdkBuilder<ListPublicKeysResponse.Builder,,ListPublicKeysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPublicKeysResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.
This is a convenience method that creates an instance of theThe returned public keys may have validity time ranges that overlap.
PublicKey.Builderavoiding the need to create one manually viaPublicKey.builder().When the
Consumercompletes,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.
-