/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides details about an Certificate Manager certificate. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsCertificateManagerCertificateDetails implements Serializable, Cloneable, StructuredPojo { /** ** The ARN of the private certificate authority (CA) that will be used to issue the certificate. *
*/ private String certificateAuthorityArn; /** ** Indicates when the certificate was requested. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate. *
*/ private String domainName; /** *
* Contains information about the initial validation of each domain name that occurs as a result of the
* RequestCertificate
request.
*
* Only provided if the certificate type is AMAZON_ISSUED
.
*
* Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the * certificate public key can be used and consists of a name and an object identifier (OID). *
*/ private java.util.List* For a failed certificate request, the reason for the failure. *
*
* Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
|
* DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
|
* CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
|
* PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
|
* PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
|
* PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
*
* Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* The list of ARNs for the Amazon Web Services resources that use the certificate. *
*/ private java.util.List
* Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* The name of the certificate authority that issued and signed the certificate. *
*/ private String issuer; /** ** The algorithm that was used to generate the public-private key pair. *
*
* Valid values: RSA_2048
| RSA_1024
| RSA_4096
| EC_prime256v1
* | EC_secp384r1
| EC_secp521r1
*
* A list of key usage X.509 v3 extension objects. *
*/ private java.util.List* The time after which the certificate becomes invalid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* The time before which the certificate is not valid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Provides a value that specifies whether to add the certificate to a transparency log. *
*/ private AwsCertificateManagerCertificateOptions options; /** ** Whether the certificate is eligible for renewal. *
*
* Valid values: ELIGIBLE
| INELIGIBLE
*
* Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when
* the certificate type is AMAZON_ISSUED
.
*
* The serial number of the certificate. *
*/ private String serial; /** ** The algorithm that was used to sign the certificate. *
*/ private String signatureAlgorithm; /** ** The status of the certificate. *
*
* Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
|
* EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
*
* The name of the entity that is associated with the public key contained in the certificate. *
*/ private String subject; /** ** One or more domain names (subject alternative names) included in the certificate. This list contains the domain * names that are bound to the public key that is contained in the certificate. *
** The subject alternative names include the canonical domain name (CN) of the certificate and additional domain * names that can be used to connect to the website. *
*/ private java.util.List
* The source of the certificate. For certificates that Certificate Manager provides, Type
is
* AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
,
* Type
is IMPORTED
.
*
* Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
*
* The ARN of the private certificate authority (CA) that will be used to issue the certificate. *
* * @param certificateAuthorityArn * The ARN of the private certificate authority (CA) that will be used to issue the certificate. */ public void setCertificateAuthorityArn(String certificateAuthorityArn) { this.certificateAuthorityArn = certificateAuthorityArn; } /** ** The ARN of the private certificate authority (CA) that will be used to issue the certificate. *
* * @return The ARN of the private certificate authority (CA) that will be used to issue the certificate. */ public String getCertificateAuthorityArn() { return this.certificateAuthorityArn; } /** ** The ARN of the private certificate authority (CA) that will be used to issue the certificate. *
* * @param certificateAuthorityArn * The ARN of the private certificate authority (CA) that will be used to issue the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withCertificateAuthorityArn(String certificateAuthorityArn) { setCertificateAuthorityArn(certificateAuthorityArn); return this; } /** ** Indicates when the certificate was requested. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
/**
*
* Indicates when the certificate was requested. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getCreatedAt() {
return this.createdAt;
}
/**
*
* Indicates when the certificate was requested. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withCreatedAt(String createdAt) {
setCreatedAt(createdAt);
return this;
}
/**
*
* The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate. *
* * @param domainName * The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** ** The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate. *
* * @return The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate. */ public String getDomainName() { return this.domainName; } /** ** The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate. *
* * @param domainName * The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withDomainName(String domainName) { setDomainName(domainName); return this; } /** *
* Contains information about the initial validation of each domain name that occurs as a result of the
* RequestCertificate
request.
*
* Only provided if the certificate type is AMAZON_ISSUED
.
*
RequestCertificate
request.
*
* Only provided if the certificate type is
* Contains information about the initial validation of each domain name that occurs as a result of the
*
* Only provided if the certificate type is AMAZON_ISSUED
.
*/
public java.util.ListRequestCertificate
request.
* AMAZON_ISSUED
.
* RequestCertificate
request.
* Only provided if the certificate type is
* Contains information about the initial validation of each domain name that occurs as a result of the
*
* Only provided if the certificate type is
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDomainValidationOptions(java.util.Collection)} or
* {@link #withDomainValidationOptions(java.util.Collection)} if you want to override the existing values.
* AMAZON_ISSUED
.
*/
public void setDomainValidationOptions(java.util.CollectionRequestCertificate
request.
* AMAZON_ISSUED
.
* RequestCertificate
request.
* Only provided if the certificate type is
* Contains information about the initial validation of each domain name that occurs as a result of the
*
* Only provided if the certificate type is AMAZON_ISSUED
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withDomainValidationOptions(
AwsCertificateManagerCertificateDomainValidationOption... domainValidationOptions) {
if (this.domainValidationOptions == null) {
setDomainValidationOptions(new java.util.ArrayListRequestCertificate
request.
* AMAZON_ISSUED
.
* RequestCertificate
request.
* Only provided if the certificate type is
* Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the
* certificate public key can be used and consists of a name and an object identifier (OID).
*
* Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the
* certificate public key can be used and consists of a name and an object identifier (OID).
*
* Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the
* certificate public key can be used and consists of a name and an object identifier (OID).
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setExtendedKeyUsages(java.util.Collection)} or {@link #withExtendedKeyUsages(java.util.Collection)} if
* you want to override the existing values.
*
* Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the
* certificate public key can be used and consists of a name and an object identifier (OID).
*
* For a failed certificate request, the reason for the failure.
*
* Valid values: AMAZON_ISSUED
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withDomainValidationOptions(
java.util.CollectionNO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
|
* DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
|
* CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
|
* PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
|
* PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
|
* PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
*
* Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
|
* DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
|
* DOMAIN_VALIDATION_DENIED
| CAA_ERROR
| PCA_LIMIT_EXCEEDED
|
* PCA_INVALID_ARN
| PCA_INVALID_STATE
| PCA_REQUEST_FAILED
|
* PCA_NAME_CONSTRAINTS_VALIDATION
| PCA_RESOURCE_NOT_FOUND
|
* PCA_INVALID_ARGS
| PCA_INVALID_DURATION
| PCA_ACCESS_DENIED
|
* SLR_NOT_FOUND
| OTHER
*/
public void setFailureReason(String failureReason) {
this.failureReason = failureReason;
}
/**
*
* For a failed certificate request, the reason for the failure. *
*
* Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
|
* DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
|
* CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
|
* PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
|
* PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
|
* PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
*
* Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
|
* DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
|
* DOMAIN_VALIDATION_DENIED
| CAA_ERROR
| PCA_LIMIT_EXCEEDED
|
* PCA_INVALID_ARN
| PCA_INVALID_STATE
| PCA_REQUEST_FAILED
|
* PCA_NAME_CONSTRAINTS_VALIDATION
| PCA_RESOURCE_NOT_FOUND
|
* PCA_INVALID_ARGS
| PCA_INVALID_DURATION
| PCA_ACCESS_DENIED
|
* SLR_NOT_FOUND
| OTHER
*/
public String getFailureReason() {
return this.failureReason;
}
/**
*
* For a failed certificate request, the reason for the failure. *
*
* Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
|
* DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
| DOMAIN_VALIDATION_DENIED
|
* CAA_ERROR
| PCA_LIMIT_EXCEEDED
| PCA_INVALID_ARN
|
* PCA_INVALID_STATE
| PCA_REQUEST_FAILED
| PCA_NAME_CONSTRAINTS_VALIDATION
|
* PCA_RESOURCE_NOT_FOUND
| PCA_INVALID_ARGS
| PCA_INVALID_DURATION
|
* PCA_ACCESS_DENIED
| SLR_NOT_FOUND
| OTHER
*
* Valid values: NO_AVAILABLE_CONTACTS
| ADDITIONAL_VERIFICATION_REQUIRED
|
* DOMAIN_NOT_ALLOWED
| INVALID_PUBLIC_DOMAIN
|
* DOMAIN_VALIDATION_DENIED
| CAA_ERROR
| PCA_LIMIT_EXCEEDED
|
* PCA_INVALID_ARN
| PCA_INVALID_STATE
| PCA_REQUEST_FAILED
|
* PCA_NAME_CONSTRAINTS_VALIDATION
| PCA_RESOURCE_NOT_FOUND
|
* PCA_INVALID_ARGS
| PCA_INVALID_DURATION
| PCA_ACCESS_DENIED
|
* SLR_NOT_FOUND
| OTHER
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withFailureReason(String failureReason) {
setFailureReason(failureReason);
return this;
}
/**
*
* Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
IMPORTED
* .
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setImportedAt(String importedAt) {
this.importedAt = importedAt;
}
/**
*
* Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
IMPORTED
* .
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getImportedAt() {
return this.importedAt;
}
/**
*
* Indicates when the certificate was imported. Provided if the certificate type is IMPORTED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
IMPORTED
* .
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withImportedAt(String importedAt) {
setImportedAt(importedAt);
return this;
}
/**
*
* The list of ARNs for the Amazon Web Services resources that use the certificate. *
* * @return The list of ARNs for the Amazon Web Services resources that use the certificate. */ public java.util.List* The list of ARNs for the Amazon Web Services resources that use the certificate. *
* * @param inUseBy * The list of ARNs for the Amazon Web Services resources that use the certificate. */ public void setInUseBy(java.util.Collection* The list of ARNs for the Amazon Web Services resources that use the certificate. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setInUseBy(java.util.Collection)} or {@link #withInUseBy(java.util.Collection)} if you want to override * the existing values. *
* * @param inUseBy * The list of ARNs for the Amazon Web Services resources that use the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withInUseBy(String... inUseBy) { if (this.inUseBy == null) { setInUseBy(new java.util.ArrayList* The list of ARNs for the Amazon Web Services resources that use the certificate. *
* * @param inUseBy * The list of ARNs for the Amazon Web Services resources that use the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withInUseBy(java.util.Collection
* Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
AMAZON_ISSUED
* .
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setIssuedAt(String issuedAt) {
this.issuedAt = issuedAt;
}
/**
*
* Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
AMAZON_ISSUED
* .
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getIssuedAt() {
return this.issuedAt;
}
/**
*
* Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED
.
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
AMAZON_ISSUED
* .
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withIssuedAt(String issuedAt) {
setIssuedAt(issuedAt);
return this;
}
/**
*
* The name of the certificate authority that issued and signed the certificate. *
* * @param issuer * The name of the certificate authority that issued and signed the certificate. */ public void setIssuer(String issuer) { this.issuer = issuer; } /** ** The name of the certificate authority that issued and signed the certificate. *
* * @return The name of the certificate authority that issued and signed the certificate. */ public String getIssuer() { return this.issuer; } /** ** The name of the certificate authority that issued and signed the certificate. *
* * @param issuer * The name of the certificate authority that issued and signed the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withIssuer(String issuer) { setIssuer(issuer); return this; } /** ** The algorithm that was used to generate the public-private key pair. *
*
* Valid values: RSA_2048
| RSA_1024
| RSA_4096
| EC_prime256v1
* | EC_secp384r1
| EC_secp521r1
*
* Valid values: RSA_2048
| RSA_1024
| RSA_4096
|
* EC_prime256v1
| EC_secp384r1
| EC_secp521r1
*/
public void setKeyAlgorithm(String keyAlgorithm) {
this.keyAlgorithm = keyAlgorithm;
}
/**
*
* The algorithm that was used to generate the public-private key pair. *
*
* Valid values: RSA_2048
| RSA_1024
| RSA_4096
| EC_prime256v1
* | EC_secp384r1
| EC_secp521r1
*
* Valid values: RSA_2048
| RSA_1024
| RSA_4096
|
* EC_prime256v1
| EC_secp384r1
| EC_secp521r1
*/
public String getKeyAlgorithm() {
return this.keyAlgorithm;
}
/**
*
* The algorithm that was used to generate the public-private key pair. *
*
* Valid values: RSA_2048
| RSA_1024
| RSA_4096
| EC_prime256v1
* | EC_secp384r1
| EC_secp521r1
*
* Valid values: RSA_2048
| RSA_1024
| RSA_4096
|
* EC_prime256v1
| EC_secp384r1
| EC_secp521r1
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withKeyAlgorithm(String keyAlgorithm) {
setKeyAlgorithm(keyAlgorithm);
return this;
}
/**
*
* A list of key usage X.509 v3 extension objects. *
* * @return A list of key usage X.509 v3 extension objects. */ public java.util.List* A list of key usage X.509 v3 extension objects. *
* * @param keyUsages * A list of key usage X.509 v3 extension objects. */ public void setKeyUsages(java.util.Collection* A list of key usage X.509 v3 extension objects. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setKeyUsages(java.util.Collection)} or {@link #withKeyUsages(java.util.Collection)} if you want to * override the existing values. *
* * @param keyUsages * A list of key usage X.509 v3 extension objects. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withKeyUsages(AwsCertificateManagerCertificateKeyUsage... keyUsages) { if (this.keyUsages == null) { setKeyUsages(new java.util.ArrayList* A list of key usage X.509 v3 extension objects. *
* * @param keyUsages * A list of key usage X.509 v3 extension objects. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withKeyUsages(java.util.Collection* The time after which the certificate becomes invalid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setNotAfter(String notAfter) {
this.notAfter = notAfter;
}
/**
*
* The time after which the certificate becomes invalid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getNotAfter() {
return this.notAfter;
}
/**
*
* The time after which the certificate becomes invalid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withNotAfter(String notAfter) {
setNotAfter(notAfter);
return this;
}
/**
*
* The time before which the certificate is not valid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public void setNotBefore(String notBefore) {
this.notBefore = notBefore;
}
/**
*
* The time before which the certificate is not valid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
*/
public String getNotBefore() {
return this.notBefore;
}
/**
*
* The time before which the certificate is not valid. *
*
* Uses the date-time
format specified in RFC
* 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
* separated by T
. For example, 2020-03-22T13:22:13.933Z
.
*
* Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
* Format. The value cannot contain spaces, and date and time should be separated by T
. For
* example, 2020-03-22T13:22:13.933Z
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withNotBefore(String notBefore) {
setNotBefore(notBefore);
return this;
}
/**
*
* Provides a value that specifies whether to add the certificate to a transparency log. *
* * @param options * Provides a value that specifies whether to add the certificate to a transparency log. */ public void setOptions(AwsCertificateManagerCertificateOptions options) { this.options = options; } /** ** Provides a value that specifies whether to add the certificate to a transparency log. *
* * @return Provides a value that specifies whether to add the certificate to a transparency log. */ public AwsCertificateManagerCertificateOptions getOptions() { return this.options; } /** ** Provides a value that specifies whether to add the certificate to a transparency log. *
* * @param options * Provides a value that specifies whether to add the certificate to a transparency log. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withOptions(AwsCertificateManagerCertificateOptions options) { setOptions(options); return this; } /** ** Whether the certificate is eligible for renewal. *
*
* Valid values: ELIGIBLE
| INELIGIBLE
*
* Valid values: ELIGIBLE
| INELIGIBLE
*/
public void setRenewalEligibility(String renewalEligibility) {
this.renewalEligibility = renewalEligibility;
}
/**
*
* Whether the certificate is eligible for renewal. *
*
* Valid values: ELIGIBLE
| INELIGIBLE
*
* Valid values: ELIGIBLE
| INELIGIBLE
*/
public String getRenewalEligibility() {
return this.renewalEligibility;
}
/**
*
* Whether the certificate is eligible for renewal. *
*
* Valid values: ELIGIBLE
| INELIGIBLE
*
* Valid values: ELIGIBLE
| INELIGIBLE
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withRenewalEligibility(String renewalEligibility) {
setRenewalEligibility(renewalEligibility);
return this;
}
/**
*
* Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when
* the certificate type is AMAZON_ISSUED
.
*
AMAZON_ISSUED
.
*/
public void setRenewalSummary(AwsCertificateManagerCertificateRenewalSummary renewalSummary) {
this.renewalSummary = renewalSummary;
}
/**
*
* Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when
* the certificate type is AMAZON_ISSUED
.
*
AMAZON_ISSUED
.
*/
public AwsCertificateManagerCertificateRenewalSummary getRenewalSummary() {
return this.renewalSummary;
}
/**
*
* Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when
* the certificate type is AMAZON_ISSUED
.
*
AMAZON_ISSUED
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withRenewalSummary(AwsCertificateManagerCertificateRenewalSummary renewalSummary) {
setRenewalSummary(renewalSummary);
return this;
}
/**
* * The serial number of the certificate. *
* * @param serial * The serial number of the certificate. */ public void setSerial(String serial) { this.serial = serial; } /** ** The serial number of the certificate. *
* * @return The serial number of the certificate. */ public String getSerial() { return this.serial; } /** ** The serial number of the certificate. *
* * @param serial * The serial number of the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withSerial(String serial) { setSerial(serial); return this; } /** ** The algorithm that was used to sign the certificate. *
* * @param signatureAlgorithm * The algorithm that was used to sign the certificate. */ public void setSignatureAlgorithm(String signatureAlgorithm) { this.signatureAlgorithm = signatureAlgorithm; } /** ** The algorithm that was used to sign the certificate. *
* * @return The algorithm that was used to sign the certificate. */ public String getSignatureAlgorithm() { return this.signatureAlgorithm; } /** ** The algorithm that was used to sign the certificate. *
* * @param signatureAlgorithm * The algorithm that was used to sign the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withSignatureAlgorithm(String signatureAlgorithm) { setSignatureAlgorithm(signatureAlgorithm); return this; } /** ** The status of the certificate. *
*
* Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
|
* EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
*
* Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
|
* EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* The status of the certificate. *
*
* Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
|
* EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
*
* Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
|
* EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
*/
public String getStatus() {
return this.status;
}
/**
*
* The status of the certificate. *
*
* Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
|
* EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
*
* Valid values: PENDING_VALIDATION
| ISSUED
| INACTIVE
|
* EXPIRED
| VALIDATION_TIMED_OUT
| REVOKED
| FAILED
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* The name of the entity that is associated with the public key contained in the certificate. *
* * @param subject * The name of the entity that is associated with the public key contained in the certificate. */ public void setSubject(String subject) { this.subject = subject; } /** ** The name of the entity that is associated with the public key contained in the certificate. *
* * @return The name of the entity that is associated with the public key contained in the certificate. */ public String getSubject() { return this.subject; } /** ** The name of the entity that is associated with the public key contained in the certificate. *
* * @param subject * The name of the entity that is associated with the public key contained in the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsCertificateManagerCertificateDetails withSubject(String subject) { setSubject(subject); return this; } /** ** One or more domain names (subject alternative names) included in the certificate. This list contains the domain * names that are bound to the public key that is contained in the certificate. *
** The subject alternative names include the canonical domain name (CN) of the certificate and additional domain * names that can be used to connect to the website. *
* * @return One or more domain names (subject alternative names) included in the certificate. This list contains the * domain names that are bound to the public key that is contained in the certificate. *
* The subject alternative names include the canonical domain name (CN) of the certificate and additional
* domain names that can be used to connect to the website.
*/
public java.util.List
* One or more domain names (subject alternative names) included in the certificate. This list contains the domain
* names that are bound to the public key that is contained in the certificate.
*
* The subject alternative names include the canonical domain name (CN) of the certificate and additional domain
* names that can be used to connect to the website.
*
* The subject alternative names include the canonical domain name (CN) of the certificate and additional
* domain names that can be used to connect to the website.
*/
public void setSubjectAlternativeNames(java.util.Collection
* One or more domain names (subject alternative names) included in the certificate. This list contains the domain
* names that are bound to the public key that is contained in the certificate.
*
* The subject alternative names include the canonical domain name (CN) of the certificate and additional domain
* names that can be used to connect to the website.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setSubjectAlternativeNames(java.util.Collection)} or
* {@link #withSubjectAlternativeNames(java.util.Collection)} if you want to override the existing values.
*
* The subject alternative names include the canonical domain name (CN) of the certificate and additional
* domain names that can be used to connect to the website.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withSubjectAlternativeNames(String... subjectAlternativeNames) {
if (this.subjectAlternativeNames == null) {
setSubjectAlternativeNames(new java.util.ArrayList
* One or more domain names (subject alternative names) included in the certificate. This list contains the domain
* names that are bound to the public key that is contained in the certificate.
*
* The subject alternative names include the canonical domain name (CN) of the certificate and additional domain
* names that can be used to connect to the website.
*
* The subject alternative names include the canonical domain name (CN) of the certificate and additional
* domain names that can be used to connect to the website.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withSubjectAlternativeNames(java.util.Collection
* The source of the certificate. For certificates that Certificate Manager provides,
* Valid values: Type
is
* AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
,
* Type
is IMPORTED
.
* IMPORTED
| AMAZON_ISSUED
| PRIVATE
* Type
is
* AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
,
* Type
is IMPORTED
.
* Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
*/
public void setType(String type) {
this.type = type;
}
/**
*
* The source of the certificate. For certificates that Certificate Manager provides, Type
is
* AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
,
* Type
is IMPORTED
.
*
* Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
*
Type
is
* AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
,
* Type
is IMPORTED
.
*
* Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
*/
public String getType() {
return this.type;
}
/**
*
* The source of the certificate. For certificates that Certificate Manager provides, Type
is
* AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
,
* Type
is IMPORTED
.
*
* Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
*
Type
is
* AMAZON_ISSUED
. For certificates that are imported with ImportCertificate
,
* Type
is IMPORTED
.
*
* Valid values: IMPORTED
| AMAZON_ISSUED
| PRIVATE
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsCertificateManagerCertificateDetails withType(String type) {
setType(type);
return this;
}
/**
* 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.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getCertificateAuthorityArn() != null)
sb.append("CertificateAuthorityArn: ").append(getCertificateAuthorityArn()).append(",");
if (getCreatedAt() != null)
sb.append("CreatedAt: ").append(getCreatedAt()).append(",");
if (getDomainName() != null)
sb.append("DomainName: ").append(getDomainName()).append(",");
if (getDomainValidationOptions() != null)
sb.append("DomainValidationOptions: ").append(getDomainValidationOptions()).append(",");
if (getExtendedKeyUsages() != null)
sb.append("ExtendedKeyUsages: ").append(getExtendedKeyUsages()).append(",");
if (getFailureReason() != null)
sb.append("FailureReason: ").append(getFailureReason()).append(",");
if (getImportedAt() != null)
sb.append("ImportedAt: ").append(getImportedAt()).append(",");
if (getInUseBy() != null)
sb.append("InUseBy: ").append(getInUseBy()).append(",");
if (getIssuedAt() != null)
sb.append("IssuedAt: ").append(getIssuedAt()).append(",");
if (getIssuer() != null)
sb.append("Issuer: ").append(getIssuer()).append(",");
if (getKeyAlgorithm() != null)
sb.append("KeyAlgorithm: ").append(getKeyAlgorithm()).append(",");
if (getKeyUsages() != null)
sb.append("KeyUsages: ").append(getKeyUsages()).append(",");
if (getNotAfter() != null)
sb.append("NotAfter: ").append(getNotAfter()).append(",");
if (getNotBefore() != null)
sb.append("NotBefore: ").append(getNotBefore()).append(",");
if (getOptions() != null)
sb.append("Options: ").append(getOptions()).append(",");
if (getRenewalEligibility() != null)
sb.append("RenewalEligibility: ").append(getRenewalEligibility()).append(",");
if (getRenewalSummary() != null)
sb.append("RenewalSummary: ").append(getRenewalSummary()).append(",");
if (getSerial() != null)
sb.append("Serial: ").append(getSerial()).append(",");
if (getSignatureAlgorithm() != null)
sb.append("SignatureAlgorithm: ").append(getSignatureAlgorithm()).append(",");
if (getStatus() != null)
sb.append("Status: ").append(getStatus()).append(",");
if (getSubject() != null)
sb.append("Subject: ").append(getSubject()).append(",");
if (getSubjectAlternativeNames() != null)
sb.append("SubjectAlternativeNames: ").append(getSubjectAlternativeNames()).append(",");
if (getType() != null)
sb.append("Type: ").append(getType());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof AwsCertificateManagerCertificateDetails == false)
return false;
AwsCertificateManagerCertificateDetails other = (AwsCertificateManagerCertificateDetails) obj;
if (other.getCertificateAuthorityArn() == null ^ this.getCertificateAuthorityArn() == null)
return false;
if (other.getCertificateAuthorityArn() != null && other.getCertificateAuthorityArn().equals(this.getCertificateAuthorityArn()) == false)
return false;
if (other.getCreatedAt() == null ^ this.getCreatedAt() == null)
return false;
if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false)
return false;
if (other.getDomainName() == null ^ this.getDomainName() == null)
return false;
if (other.getDomainName() != null && other.getDomainName().equals(this.getDomainName()) == false)
return false;
if (other.getDomainValidationOptions() == null ^ this.getDomainValidationOptions() == null)
return false;
if (other.getDomainValidationOptions() != null && other.getDomainValidationOptions().equals(this.getDomainValidationOptions()) == false)
return false;
if (other.getExtendedKeyUsages() == null ^ this.getExtendedKeyUsages() == null)
return false;
if (other.getExtendedKeyUsages() != null && other.getExtendedKeyUsages().equals(this.getExtendedKeyUsages()) == false)
return false;
if (other.getFailureReason() == null ^ this.getFailureReason() == null)
return false;
if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false)
return false;
if (other.getImportedAt() == null ^ this.getImportedAt() == null)
return false;
if (other.getImportedAt() != null && other.getImportedAt().equals(this.getImportedAt()) == false)
return false;
if (other.getInUseBy() == null ^ this.getInUseBy() == null)
return false;
if (other.getInUseBy() != null && other.getInUseBy().equals(this.getInUseBy()) == false)
return false;
if (other.getIssuedAt() == null ^ this.getIssuedAt() == null)
return false;
if (other.getIssuedAt() != null && other.getIssuedAt().equals(this.getIssuedAt()) == false)
return false;
if (other.getIssuer() == null ^ this.getIssuer() == null)
return false;
if (other.getIssuer() != null && other.getIssuer().equals(this.getIssuer()) == false)
return false;
if (other.getKeyAlgorithm() == null ^ this.getKeyAlgorithm() == null)
return false;
if (other.getKeyAlgorithm() != null && other.getKeyAlgorithm().equals(this.getKeyAlgorithm()) == false)
return false;
if (other.getKeyUsages() == null ^ this.getKeyUsages() == null)
return false;
if (other.getKeyUsages() != null && other.getKeyUsages().equals(this.getKeyUsages()) == false)
return false;
if (other.getNotAfter() == null ^ this.getNotAfter() == null)
return false;
if (other.getNotAfter() != null && other.getNotAfter().equals(this.getNotAfter()) == false)
return false;
if (other.getNotBefore() == null ^ this.getNotBefore() == null)
return false;
if (other.getNotBefore() != null && other.getNotBefore().equals(this.getNotBefore()) == false)
return false;
if (other.getOptions() == null ^ this.getOptions() == null)
return false;
if (other.getOptions() != null && other.getOptions().equals(this.getOptions()) == false)
return false;
if (other.getRenewalEligibility() == null ^ this.getRenewalEligibility() == null)
return false;
if (other.getRenewalEligibility() != null && other.getRenewalEligibility().equals(this.getRenewalEligibility()) == false)
return false;
if (other.getRenewalSummary() == null ^ this.getRenewalSummary() == null)
return false;
if (other.getRenewalSummary() != null && other.getRenewalSummary().equals(this.getRenewalSummary()) == false)
return false;
if (other.getSerial() == null ^ this.getSerial() == null)
return false;
if (other.getSerial() != null && other.getSerial().equals(this.getSerial()) == false)
return false;
if (other.getSignatureAlgorithm() == null ^ this.getSignatureAlgorithm() == null)
return false;
if (other.getSignatureAlgorithm() != null && other.getSignatureAlgorithm().equals(this.getSignatureAlgorithm()) == false)
return false;
if (other.getStatus() == null ^ this.getStatus() == null)
return false;
if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false)
return false;
if (other.getSubject() == null ^ this.getSubject() == null)
return false;
if (other.getSubject() != null && other.getSubject().equals(this.getSubject()) == false)
return false;
if (other.getSubjectAlternativeNames() == null ^ this.getSubjectAlternativeNames() == null)
return false;
if (other.getSubjectAlternativeNames() != null && other.getSubjectAlternativeNames().equals(this.getSubjectAlternativeNames()) == false)
return false;
if (other.getType() == null ^ this.getType() == null)
return false;
if (other.getType() != null && other.getType().equals(this.getType()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getCertificateAuthorityArn() == null) ? 0 : getCertificateAuthorityArn().hashCode());
hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
hashCode = prime * hashCode + ((getDomainName() == null) ? 0 : getDomainName().hashCode());
hashCode = prime * hashCode + ((getDomainValidationOptions() == null) ? 0 : getDomainValidationOptions().hashCode());
hashCode = prime * hashCode + ((getExtendedKeyUsages() == null) ? 0 : getExtendedKeyUsages().hashCode());
hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode());
hashCode = prime * hashCode + ((getImportedAt() == null) ? 0 : getImportedAt().hashCode());
hashCode = prime * hashCode + ((getInUseBy() == null) ? 0 : getInUseBy().hashCode());
hashCode = prime * hashCode + ((getIssuedAt() == null) ? 0 : getIssuedAt().hashCode());
hashCode = prime * hashCode + ((getIssuer() == null) ? 0 : getIssuer().hashCode());
hashCode = prime * hashCode + ((getKeyAlgorithm() == null) ? 0 : getKeyAlgorithm().hashCode());
hashCode = prime * hashCode + ((getKeyUsages() == null) ? 0 : getKeyUsages().hashCode());
hashCode = prime * hashCode + ((getNotAfter() == null) ? 0 : getNotAfter().hashCode());
hashCode = prime * hashCode + ((getNotBefore() == null) ? 0 : getNotBefore().hashCode());
hashCode = prime * hashCode + ((getOptions() == null) ? 0 : getOptions().hashCode());
hashCode = prime * hashCode + ((getRenewalEligibility() == null) ? 0 : getRenewalEligibility().hashCode());
hashCode = prime * hashCode + ((getRenewalSummary() == null) ? 0 : getRenewalSummary().hashCode());
hashCode = prime * hashCode + ((getSerial() == null) ? 0 : getSerial().hashCode());
hashCode = prime * hashCode + ((getSignatureAlgorithm() == null) ? 0 : getSignatureAlgorithm().hashCode());
hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode());
hashCode = prime * hashCode + ((getSubject() == null) ? 0 : getSubject().hashCode());
hashCode = prime * hashCode + ((getSubjectAlternativeNames() == null) ? 0 : getSubjectAlternativeNames().hashCode());
hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode());
return hashCode;
}
@Override
public AwsCertificateManagerCertificateDetails clone() {
try {
return (AwsCertificateManagerCertificateDetails) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
@com.amazonaws.annotation.SdkInternalApi
@Override
public void marshall(ProtocolMarshaller protocolMarshaller) {
com.amazonaws.services.securityhub.model.transform.AwsCertificateManagerCertificateDetailsMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}