Interface SSHPublicKey.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SSHPublicKey.Builder,SSHPublicKey>
,SdkBuilder<SSHPublicKey.Builder,SSHPublicKey>
,SdkPojo
- Enclosing class:
- SSHPublicKey
public static interface SSHPublicKey.Builder extends SdkPojo, CopyableBuilder<SSHPublicKey.Builder,SSHPublicKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSHPublicKey.Builder
fingerprint(String fingerprint)
The MD5 message digest of the SSH public key.SSHPublicKey.Builder
sshPublicKeyBody(String sshPublicKeyBody)
The SSH public key.SSHPublicKey.Builder
sshPublicKeyId(String sshPublicKeyId)
The unique identifier for the SSH public key.SSHPublicKey.Builder
status(String status)
The status of the SSH public key.SSHPublicKey.Builder
status(StatusType status)
The status of the SSH public key.SSHPublicKey.Builder
uploadDate(Instant uploadDate)
The date and time, in ISO 8601 date-time format, when the SSH public key was uploaded.SSHPublicKey.Builder
userName(String userName)
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 Detail
-
userName
SSHPublicKey.Builder userName(String 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
SSHPublicKey.Builder sshPublicKeyId(String 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.
-
fingerprint
SSHPublicKey.Builder fingerprint(String fingerprint)
The MD5 message digest of the SSH public key.
- Parameters:
fingerprint
- The MD5 message digest of the SSH public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshPublicKeyBody
SSHPublicKey.Builder sshPublicKeyBody(String sshPublicKeyBody)
The SSH public key.
- Parameters:
sshPublicKeyBody
- The SSH public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
SSHPublicKey.Builder status(String 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:
StatusType
,StatusType
-
status
SSHPublicKey.Builder status(StatusType 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:
StatusType
,StatusType
-
uploadDate
SSHPublicKey.Builder uploadDate(Instant 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.
-
-