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