public static interface GetAccessKeyLastUsedResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse>
Modifier and Type | Method and Description |
---|---|
GetAccessKeyLastUsedResponse.Builder |
accessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
Contains information about the last time the access key was used.
|
default GetAccessKeyLastUsedResponse.Builder |
accessKeyLastUsed(Consumer<AccessKeyLastUsed.Builder> accessKeyLastUsed)
Contains information about the last time the access key was used.
|
GetAccessKeyLastUsedResponse.Builder |
userName(String userName)
The name of the AWS IAM user that owns this access key.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetAccessKeyLastUsedResponse.Builder userName(String userName)
The name of the AWS IAM user that owns this access key.
userName
- The name of the AWS IAM user that owns this access key.
GetAccessKeyLastUsedResponse.Builder accessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
Contains information about the last time the access key was used.
accessKeyLastUsed
- Contains information about the last time the access key was used.default GetAccessKeyLastUsedResponse.Builder accessKeyLastUsed(Consumer<AccessKeyLastUsed.Builder> accessKeyLastUsed)
Contains information about the last time the access key was used.
This is a convenience that creates an instance of theAccessKeyLastUsed.Builder
avoiding the need to
create one manually via AccessKeyLastUsed.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to accessKeyLastUsed(AccessKeyLastUsed)
.accessKeyLastUsed
- a consumer that will call methods on AccessKeyLastUsed.Builder
accessKeyLastUsed(AccessKeyLastUsed)
Copyright © 2021. All rights reserved.