public class CertificateConfiguration extends Object
Constructor and Description |
---|
CertificateConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets the certificate ID.
|
String |
getPreviousId()
Gets the previous certificate ID.
|
String |
getPrivateKey()
Gets the certificate private key.
|
String |
getPublicKey()
Gets the certificate public key
|
boolean |
isForceOverwriteCert()
Get if force overwrite certificate or not.
|
void |
setForceOverwriteCert(boolean forceOverwriteCert)
Set if force overwrite certificate or not.
|
void |
setId(String id)
Sets the certificate ID.
|
void |
setPreviousId(String previousId)
Sets the previous certificate ID.
|
void |
setPrivateKey(String privateKey)
Sets the certificate private key.
|
void |
setPublicKey(String publicKey)
Sets the certificate public key.
|
CertificateConfiguration |
withForceOverwriteCert(boolean forceOverwriteCert)
Set if force overwrite certificate or not and return the updated CertificateConfiguration object.
|
CertificateConfiguration |
withId(String id)
Sets the certificate ID and return the updated CertificateConfiguration object.
|
CertificateConfiguration |
withPreviousId(String previousId)
Sets the previous certificate ID and return the updated CertificateConfiguration object.
|
CertificateConfiguration |
withPrivateKey(String privateKey)
Sets the certificate private key and return the updated CertificateConfiguration object.
|
CertificateConfiguration |
withPublicKey(String publicKey)
Sets the certificate public key and return the updated CertificateConfiguration object.
|
public String getPublicKey()
public void setPublicKey(String publicKey)
public CertificateConfiguration withPublicKey(String publicKey)
public String getPrivateKey()
public void setPrivateKey(String privateKey)
public CertificateConfiguration withPrivateKey(String privateKey)
public String getId()
public void setId(String id)
public CertificateConfiguration withId(String id)
public boolean isForceOverwriteCert()
public void setForceOverwriteCert(boolean forceOverwriteCert)
forceOverwriteCert
- If enabled, OSS will not check the previous certificate ID.public CertificateConfiguration withForceOverwriteCert(boolean forceOverwriteCert)
forceOverwriteCert
- If enabled, OSS will not check the previous certificate ID.public String getPreviousId()
public void setPreviousId(String previousId)
public CertificateConfiguration withPreviousId(String previousId)
Copyright © 2021. All Rights Reserved.