@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CertificateSettings extends Object implements Serializable, Cloneable, StructuredPojo
The type of SSL/TLS certificate to use for your custom domain. If a certificate type isn't specified, Amplify uses
the default AMPLIFY_MANAGED
certificate.
Constructor and Description |
---|
CertificateSettings() |
Modifier and Type | Method and Description |
---|---|
CertificateSettings |
clone() |
boolean |
equals(Object obj) |
String |
getCustomCertificateArn()
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in
your Amazon Web Services account.
|
String |
getType()
The certificate type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomCertificateArn(String customCertificateArn)
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in
your Amazon Web Services account.
|
void |
setType(String type)
The certificate type.
|
String |
toString()
Returns a string representation of this object.
|
CertificateSettings |
withCustomCertificateArn(String customCertificateArn)
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in
your Amazon Web Services account.
|
CertificateSettings |
withType(CertificateType type)
The certificate type.
|
CertificateSettings |
withType(String type)
The certificate type.
|
public void setType(String type)
The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager in
your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia)
Region (us-east-1). For more information about using ACM, see Importing certificates into
Certificate Manager in the ACM User guide.
type
- The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager
in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N.
Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates
into Certificate Manager in the ACM User guide.
CertificateType
public String getType()
The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager in
your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia)
Region (us-east-1). For more information about using ACM, see Importing certificates into
Certificate Manager in the ACM User guide.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate
Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US
East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates
into Certificate Manager in the ACM User guide.
CertificateType
public CertificateSettings withType(String type)
The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager in
your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia)
Region (us-east-1). For more information about using ACM, see Importing certificates into
Certificate Manager in the ACM User guide.
type
- The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager
in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N.
Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates
into Certificate Manager in the ACM User guide.
CertificateType
public CertificateSettings withType(CertificateType type)
The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager in
your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia)
Region (us-east-1). For more information about using ACM, see Importing certificates into
Certificate Manager in the ACM User guide.
type
- The certificate type.
Specify AMPLIFY_MANAGED
to use the default certificate that Amplify provisions for you.
Specify CUSTOM
to use your own certificate that you have already added to Certificate Manager
in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N.
Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates
into Certificate Manager in the ACM User guide.
CertificateType
public void setCustomCertificateArn(String customCertificateArn)
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.
This field is required only when the certificate type is CUSTOM
.
customCertificateArn
- The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate
Manager in your Amazon Web Services account.
This field is required only when the certificate type is CUSTOM
.
public String getCustomCertificateArn()
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.
This field is required only when the certificate type is CUSTOM
.
This field is required only when the certificate type is CUSTOM
.
public CertificateSettings withCustomCertificateArn(String customCertificateArn)
The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate Manager in your Amazon Web Services account.
This field is required only when the certificate type is CUSTOM
.
customCertificateArn
- The Amazon resource name (ARN) for the custom certificate that you have already added to Certificate
Manager in your Amazon Web Services account.
This field is required only when the certificate type is CUSTOM
.
public String toString()
toString
in class Object
Object.toString()
public CertificateSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.