@Generated(value="software.amazon.awssdk:codegen") public final class DescribedHostKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DescribedHostKey.Builder,DescribedHostKey>
The details for a server host key.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribedHostKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The unique Amazon Resource Name (ARN) for the host key.
|
static DescribedHostKey.Builder |
builder() |
Instant |
dateImported()
The date on which the host key was added to the server.
|
String |
description()
The text description for this host key.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
hostKeyFingerprint()
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
|
String |
hostKeyId()
A unique identifier for the host key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribedHostKey.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Key-value pairs that can be used to group and search for host keys.
|
DescribedHostKey.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The encryption algorithm that is used for the host key.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The unique Amazon Resource Name (ARN) for the host key.
public final String hostKeyId()
A unique identifier for the host key.
public final String hostKeyFingerprint()
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
public final String description()
The text description for this host key.
public final String type()
The encryption algorithm that is used for the host key. The Type parameter is specified by using one
of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
Type parameter is specified by
using one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
public final Instant dateImported()
The date on which the host key was added to the server.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
Key-value pairs that can be used to group and search for host keys.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public DescribedHostKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribedHostKey.Builder,DescribedHostKey>public static DescribedHostKey.Builder builder()
public static Class<? extends DescribedHostKey.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.