@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 how this certificate is used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 how this certificate is used.
|
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 how this certificate is used.
|
ListedCertificate |
withUsage(String usage)
Specifies how this certificate is used.
|
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 how this certificate is used. It can be used in the following ways:
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
usage
- Specifies how this certificate is used. It can be used in the following ways:
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
CertificateUsageType
public String getUsage()
Specifies how this certificate is used. It can be used in the following ways:
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
CertificateUsageType
public ListedCertificate withUsage(String usage)
Specifies how this certificate is used. It can be used in the following ways:
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
usage
- Specifies how this certificate is used. It can be used in the following ways:
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
CertificateUsageType
public ListedCertificate withUsage(CertificateUsageType usage)
Specifies how this certificate is used. It can be used in the following ways:
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
usage
- Specifies how this certificate is used. It can be used in the following ways:
SIGNING
: For signing AS2 messages
ENCRYPTION
: For encrypting AS2 messages
TLS
: For securing AS2 communications sent over HTTPS
CertificateUsageType
public 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.CertificateStatusType
public 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.CertificateStatusType
public 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.CertificateStatusType
public 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.CertificateStatusType
public 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
.CertificateType
public 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
.CertificateType
public 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
.CertificateType
public 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
.CertificateType
public 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 Object
Object.toString()
public ListedCertificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.