Interface AccessKeyMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccessKeyMetadata.Builder,AccessKeyMetadata>,SdkBuilder<AccessKeyMetadata.Builder,AccessKeyMetadata>,SdkPojo
- Enclosing class:
- AccessKeyMetadata
@Mutable @NotThreadSafe public static interface AccessKeyMetadata.Builder extends SdkPojo, CopyableBuilder<AccessKeyMetadata.Builder,AccessKeyMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessKeyMetadata.BuilderaccessKeyId(String accessKeyId)The ID for this access key.AccessKeyMetadata.BuildercreateDate(Instant createDate)The date when the access key was created.AccessKeyMetadata.Builderstatus(String status)The status of the access key.AccessKeyMetadata.Builderstatus(StatusType status)The status of the access key.AccessKeyMetadata.BuilderuserName(String userName)The name of the IAM user that the key is associated with.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
userName
AccessKeyMetadata.Builder userName(String userName)
The name of the IAM user that the key is associated with.
- Parameters:
userName- The name of the IAM user that the key is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessKeyId
AccessKeyMetadata.Builder accessKeyId(String accessKeyId)
The ID for this access key.
- Parameters:
accessKeyId- The ID for this access key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AccessKeyMetadata.Builder status(String status)
The status of the access key.
Activemeans that the key is valid for API calls;Inactivemeans it is not.- Parameters:
status- The status of the access key.Activemeans that the key is valid for API calls;Inactivemeans it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
status
AccessKeyMetadata.Builder status(StatusType status)
The status of the access key.
Activemeans that the key is valid for API calls;Inactivemeans it is not.- Parameters:
status- The status of the access key.Activemeans that the key is valid for API calls;Inactivemeans it is not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StatusType,StatusType
-
createDate
AccessKeyMetadata.Builder createDate(Instant createDate)
The date when the access key was created.
- Parameters:
createDate- The date when the access key was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-