@Generated(value="software.amazon.awssdk:codegen") public final class ServerCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerCertificate.Builder,ServerCertificate>
Contains information about a server certificate.
This data type is used as a response element in the GetServerCertificate operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServerCertificate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServerCertificate.Builder |
builder() |
String |
certificateBody()
The contents of the public key certificate.
|
String |
certificateChain()
The contents of the public key certificate chain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServerCertificate.Builder> |
serializableBuilderClass() |
ServerCertificateMetadata |
serverCertificateMetadata()
The meta information of the server certificate, such as its name, path, ID, and ARN.
|
List<Tag> |
tags()
A list of tags that are attached to the server certificate.
|
ServerCertificate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ServerCertificateMetadata serverCertificateMetadata()
The meta information of the server certificate, such as its name, path, ID, and ARN.
public final String certificateBody()
The contents of the public key certificate.
public final String certificateChain()
The contents of the public key certificate chain.
public final boolean hasTags()
public final List<Tag> tags()
A list of tags that are attached to the server certificate. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public ServerCertificate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServerCertificate.Builder,ServerCertificate>public static ServerCertificate.Builder builder()
public static Class<? extends ServerCertificate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.