Interface SSHPublicKeyMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SSHPublicKeyMetadata.Builder,
,SSHPublicKeyMetadata> SdkBuilder<SSHPublicKeyMetadata.Builder,
,SSHPublicKeyMetadata> SdkPojo
- Enclosing class:
SSHPublicKeyMetadata
public static interface SSHPublicKeyMetadata.Builder
extends SdkPojo, CopyableBuilder<SSHPublicKeyMetadata.Builder,SSHPublicKeyMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionsshPublicKeyId
(String sshPublicKeyId) The unique identifier for the SSH public key.The status of the SSH public key.status
(StatusType status) The status of the SSH public key.uploadDate
(Instant uploadDate) The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.The name of the IAM user associated with the SSH public key.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 Details
-
userName
The name of the IAM user associated with the SSH public key.
- Parameters:
userName
- The name of the IAM user associated with the SSH public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshPublicKeyId
The unique identifier for the SSH public key.
- Parameters:
sshPublicKeyId
- The unique identifier for the SSH public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the SSH public key.
Active
means that the key can be used for authentication with an CodeCommit repository.Inactive
means that the key cannot be used.- Parameters:
status
- The status of the SSH public key.Active
means that the key can be used for authentication with an CodeCommit repository.Inactive
means that the key cannot be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the SSH public key.
Active
means that the key can be used for authentication with an CodeCommit repository.Inactive
means that the key cannot be used.- Parameters:
status
- The status of the SSH public key.Active
means that the key can be used for authentication with an CodeCommit repository.Inactive
means that the key cannot be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uploadDate
The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.
- Parameters:
uploadDate
- The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-