Interface GetAccessKeyLastUsedResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse>,IamResponse.Builder,SdkBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetAccessKeyLastUsedResponse
public static interface GetAccessKeyLastUsedResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetAccessKeyLastUsedResponse.Builder,GetAccessKeyLastUsedResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAccessKeyLastUsedResponse.BuilderaccessKeyLastUsed(Consumer<AccessKeyLastUsed.Builder> accessKeyLastUsed)Contains information about the last time the access key was used.GetAccessKeyLastUsedResponse.BuilderaccessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)Contains information about the last time the access key was used.GetAccessKeyLastUsedResponse.BuilderuserName(String userName)The name of the IAM user that owns this access key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userName
GetAccessKeyLastUsedResponse.Builder userName(String userName)
The name of the IAM user that owns this access key.
- Parameters:
userName- The name of the IAM user that owns this access key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeyLastUsed
GetAccessKeyLastUsedResponse.Builder accessKeyLastUsed(AccessKeyLastUsed accessKeyLastUsed)
Contains information about the last time the access key was used.
- Parameters:
accessKeyLastUsed- Contains information about the last time the access key was used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeyLastUsed
default GetAccessKeyLastUsedResponse.Builder accessKeyLastUsed(Consumer<AccessKeyLastUsed.Builder> accessKeyLastUsed)
Contains information about the last time the access key was used.
This is a convenience method that creates an instance of theAccessKeyLastUsed.Builderavoiding the need to create one manually viaAccessKeyLastUsed.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessKeyLastUsed(AccessKeyLastUsed).- Parameters:
accessKeyLastUsed- a consumer that will call methods onAccessKeyLastUsed.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accessKeyLastUsed(AccessKeyLastUsed)
-
-