Class ExportCertificateResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.acm.model.AcmResponse
-
- software.amazon.awssdk.services.acm.model.ExportCertificateResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ExportCertificateResponse.Builder,ExportCertificateResponse>
@Generated("software.amazon.awssdk:codegen") public final class ExportCertificateResponse extends AcmResponse implements ToCopyableBuilder<ExportCertificateResponse.Builder,ExportCertificateResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportCertificateResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportCertificateResponse.Builderbuilder()Stringcertificate()The base64 PEM-encoded certificate.StringcertificateChain()The base64 PEM-encoded certificate chain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprivateKey()The encrypted private key associated with the public key in the certificate.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ExportCertificateResponse.Builder>serializableBuilderClass()ExportCertificateResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.acm.model.AcmResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
certificate
public final String certificate()
The base64 PEM-encoded certificate.
- Returns:
- The base64 PEM-encoded certificate.
-
certificateChain
public final String certificateChain()
The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
- Returns:
- The base64 PEM-encoded certificate chain. This does not include the certificate that you are exporting.
-
privateKey
public final String privateKey()
The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
- Returns:
- The encrypted private key associated with the public key in the certificate. The key is output in PKCS #8 format and is base64 PEM-encoded.
-
toBuilder
public ExportCertificateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportCertificateResponse.Builder,ExportCertificateResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static ExportCertificateResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportCertificateResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-