@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListedCertificate extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of a certificate.
| Constructor and Description |
|---|
ListedCertificate() |
| Modifier and Type | Method and Description |
|---|---|
ListedCertificate |
clone() |
boolean |
equals(Object obj) |
Date |
getActiveDate()
An optional date that specifies when the certificate becomes active.
|
String |
getArn()
The Amazon Resource Name (ARN) of the specified certificate.
|
String |
getCertificateId()
An array of identifiers for the imported certificates.
|
String |
getDescription()
The name or short description that's used to identify the certificate.
|
Date |
getInactiveDate()
An optional date that specifies when the certificate becomes inactive.
|
String |
getStatus()
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
String |
getType()
The type for the certificate.
|
String |
getUsage()
Specifies whether this certificate is used for signing or encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setActiveDate(Date activeDate)
An optional date that specifies when the certificate becomes active.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the specified certificate.
|
void |
setCertificateId(String certificateId)
An array of identifiers for the imported certificates.
|
void |
setDescription(String description)
The name or short description that's used to identify the certificate.
|
void |
setInactiveDate(Date inactiveDate)
An optional date that specifies when the certificate becomes inactive.
|
void |
setStatus(String status)
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
void |
setType(String type)
The type for the certificate.
|
void |
setUsage(String usage)
Specifies whether this certificate is used for signing or encryption.
|
String |
toString()
Returns a string representation of this object.
|
ListedCertificate |
withActiveDate(Date activeDate)
An optional date that specifies when the certificate becomes active.
|
ListedCertificate |
withArn(String arn)
The Amazon Resource Name (ARN) of the specified certificate.
|
ListedCertificate |
withCertificateId(String certificateId)
An array of identifiers for the imported certificates.
|
ListedCertificate |
withDescription(String description)
The name or short description that's used to identify the certificate.
|
ListedCertificate |
withInactiveDate(Date inactiveDate)
An optional date that specifies when the certificate becomes inactive.
|
ListedCertificate |
withStatus(CertificateStatusType status)
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
ListedCertificate |
withStatus(String status)
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
ListedCertificate |
withType(CertificateType type)
The type for the certificate.
|
ListedCertificate |
withType(String type)
The type for the certificate.
|
ListedCertificate |
withUsage(CertificateUsageType usage)
Specifies whether this certificate is used for signing or encryption.
|
ListedCertificate |
withUsage(String usage)
Specifies whether this certificate is used for signing or encryption.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the specified certificate.
arn - The Amazon Resource Name (ARN) of the specified certificate.public String getArn()
The Amazon Resource Name (ARN) of the specified certificate.
public ListedCertificate withArn(String arn)
The Amazon Resource Name (ARN) of the specified certificate.
arn - The Amazon Resource Name (ARN) of the specified certificate.public void setCertificateId(String certificateId)
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
certificateId - An array of identifiers for the imported certificates. You use this identifier for working with profiles
and partner profiles.public String getCertificateId()
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
public ListedCertificate withCertificateId(String certificateId)
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
certificateId - An array of identifiers for the imported certificates. You use this identifier for working with profiles
and partner profiles.public void setUsage(String usage)
Specifies whether this certificate is used for signing or encryption.
usage - Specifies whether this certificate is used for signing or encryption.CertificateUsageTypepublic String getUsage()
Specifies whether this certificate is used for signing or encryption.
CertificateUsageTypepublic ListedCertificate withUsage(String usage)
Specifies whether this certificate is used for signing or encryption.
usage - Specifies whether this certificate is used for signing or encryption.CertificateUsageTypepublic ListedCertificate withUsage(CertificateUsageType usage)
Specifies whether this certificate is used for signing or encryption.
usage - Specifies whether this certificate is used for signing or encryption.CertificateUsageTypepublic void setStatus(String status)
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
status - The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE
. PENDING_ROTATION means that this certificate will replace the current certificate when it
expires.CertificateStatusTypepublic String getStatus()
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
ACTIVE, PENDING_ROTATION, or
INACTIVE. PENDING_ROTATION means that this certificate will replace the current
certificate when it expires.CertificateStatusTypepublic ListedCertificate withStatus(String status)
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
status - The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE
. PENDING_ROTATION means that this certificate will replace the current certificate when it
expires.CertificateStatusTypepublic ListedCertificate withStatus(CertificateStatusType status)
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
status - The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE
. PENDING_ROTATION means that this certificate will replace the current certificate when it
expires.CertificateStatusTypepublic void setActiveDate(Date activeDate)
An optional date that specifies when the certificate becomes active.
activeDate - An optional date that specifies when the certificate becomes active.public Date getActiveDate()
An optional date that specifies when the certificate becomes active.
public ListedCertificate withActiveDate(Date activeDate)
An optional date that specifies when the certificate becomes active.
activeDate - An optional date that specifies when the certificate becomes active.public void setInactiveDate(Date inactiveDate)
An optional date that specifies when the certificate becomes inactive.
inactiveDate - An optional date that specifies when the certificate becomes inactive.public Date getInactiveDate()
An optional date that specifies when the certificate becomes inactive.
public ListedCertificate withInactiveDate(Date inactiveDate)
An optional date that specifies when the certificate becomes inactive.
inactiveDate - An optional date that specifies when the certificate becomes inactive.public void setType(String type)
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
type - The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateTypepublic String getType()
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateTypepublic ListedCertificate withType(String type)
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
type - The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateTypepublic ListedCertificate withType(CertificateType type)
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
type - The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateTypepublic void setDescription(String description)
The name or short description that's used to identify the certificate.
description - The name or short description that's used to identify the certificate.public String getDescription()
The name or short description that's used to identify the certificate.
public ListedCertificate withDescription(String description)
The name or short description that's used to identify the certificate.
description - The name or short description that's used to identify the certificate.public String toString()
toString in class ObjectObject.toString()public ListedCertificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.