@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ImportCertificateRequest() |
| Modifier and Type | Method and Description |
|---|---|
ImportCertificateRequest |
clone() |
boolean |
equals(Object obj) |
Date |
getActiveDate()
An optional date that specifies when the certificate becomes active.
|
String |
getCertificate()
The file that contains the certificate to import.
|
String |
getCertificateChain()
An optional list of certificates that make up the chain for the certificate that's being imported.
|
String |
getDescription()
A short description that helps identify the certificate.
|
Date |
getInactiveDate()
An optional date that specifies when the certificate becomes inactive.
|
String |
getPrivateKey()
The file that contains the private key for the certificate that's being imported.
|
List<Tag> |
getTags()
Key-value pairs that can be used to group and search for certificates.
|
String |
getUsage()
Specifies whether this certificate is used for signing or encryption.
|
int |
hashCode() |
void |
setActiveDate(Date activeDate)
An optional date that specifies when the certificate becomes active.
|
void |
setCertificate(String certificate)
The file that contains the certificate to import.
|
void |
setCertificateChain(String certificateChain)
An optional list of certificates that make up the chain for the certificate that's being imported.
|
void |
setDescription(String description)
A short description that helps identify the certificate.
|
void |
setInactiveDate(Date inactiveDate)
An optional date that specifies when the certificate becomes inactive.
|
void |
setPrivateKey(String privateKey)
The file that contains the private key for the certificate that's being imported.
|
void |
setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
|
void |
setUsage(String usage)
Specifies whether this certificate is used for signing or encryption.
|
String |
toString()
Returns a string representation of this object.
|
ImportCertificateRequest |
withActiveDate(Date activeDate)
An optional date that specifies when the certificate becomes active.
|
ImportCertificateRequest |
withCertificate(String certificate)
The file that contains the certificate to import.
|
ImportCertificateRequest |
withCertificateChain(String certificateChain)
An optional list of certificates that make up the chain for the certificate that's being imported.
|
ImportCertificateRequest |
withDescription(String description)
A short description that helps identify the certificate.
|
ImportCertificateRequest |
withInactiveDate(Date inactiveDate)
An optional date that specifies when the certificate becomes inactive.
|
ImportCertificateRequest |
withPrivateKey(String privateKey)
The file that contains the private key for the certificate that's being imported.
|
ImportCertificateRequest |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
|
ImportCertificateRequest |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for certificates.
|
ImportCertificateRequest |
withUsage(CertificateUsageType usage)
Specifies whether this certificate is used for signing or encryption.
|
ImportCertificateRequest |
withUsage(String usage)
Specifies whether this certificate is used for signing or encryption.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 ImportCertificateRequest 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 ImportCertificateRequest 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 setCertificate(String certificate)
The file that contains the certificate to import.
certificate - The file that contains the certificate to import.public String getCertificate()
The file that contains the certificate to import.
public ImportCertificateRequest withCertificate(String certificate)
The file that contains the certificate to import.
certificate - The file that contains the certificate to import.public void setCertificateChain(String certificateChain)
An optional list of certificates that make up the chain for the certificate that's being imported.
certificateChain - An optional list of certificates that make up the chain for the certificate that's being imported.public String getCertificateChain()
An optional list of certificates that make up the chain for the certificate that's being imported.
public ImportCertificateRequest withCertificateChain(String certificateChain)
An optional list of certificates that make up the chain for the certificate that's being imported.
certificateChain - An optional list of certificates that make up the chain for the certificate that's being imported.public void setPrivateKey(String privateKey)
The file that contains the private key for the certificate that's being imported.
privateKey - The file that contains the private key for the certificate that's being imported.public String getPrivateKey()
The file that contains the private key for the certificate that's being imported.
public ImportCertificateRequest withPrivateKey(String privateKey)
The file that contains the private key for the certificate that's being imported.
privateKey - The file that contains the private key for the certificate that's being imported.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 ImportCertificateRequest 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 ImportCertificateRequest 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 setDescription(String description)
A short description that helps identify the certificate.
description - A short description that helps identify the certificate.public String getDescription()
A short description that helps identify the certificate.
public ImportCertificateRequest withDescription(String description)
A short description that helps identify the certificate.
description - A short description that helps identify the certificate.public List<Tag> getTags()
Key-value pairs that can be used to group and search for certificates.
public void setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
tags - Key-value pairs that can be used to group and search for certificates.public ImportCertificateRequest withTags(Tag... tags)
Key-value pairs that can be used to group and search for certificates.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - Key-value pairs that can be used to group and search for certificates.public ImportCertificateRequest withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
tags - Key-value pairs that can be used to group and search for certificates.public String toString()
toString in class ObjectObject.toString()public ImportCertificateRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.