Class AwsCloudFrontDistributionViewerCertificate
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,
AwsCloudFrontDistributionViewerCertificate>
Provides information about the TLS/SSL configuration that the CloudFront distribution uses to communicate with viewers.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The ARN of the ACM certificate.builder()
final String
The identifier of the certificate.final String
The source of the certificate identified byCertificate
.final Boolean
Whether the distribution uses the CloudFront domain name.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The identifier of the IAM certificate.final String
The security policy that CloudFront uses for HTTPS connections with viewers.static Class
<? extends AwsCloudFrontDistributionViewerCertificate.Builder> final String
The viewers that the distribution accepts HTTPS connections from.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
acmCertificateArn
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN, you must also provide
MinimumCertificateVersion
andSslSupportMethod
.- Returns:
- The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM
certificate ARN, you must also provide
MinimumCertificateVersion
andSslSupportMethod
.
-
certificate
The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
- Returns:
- The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.
-
certificateSource
The source of the certificate identified by
Certificate
. Note that in CloudFront, this attribute is deprecated.- Returns:
- The source of the certificate identified by
Certificate
. Note that in CloudFront, this attribute is deprecated.
-
cloudFrontDefaultCertificate
Whether the distribution uses the CloudFront domain name. If set to
false
, then you provide eitherAcmCertificateArn
orIamCertificateId
.- Returns:
- Whether the distribution uses the CloudFront domain name. If set to
false
, then you provide eitherAcmCertificateArn
orIamCertificateId
.
-
iamCertificateId
The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId
, then you also must provideMinimumProtocolVersion
andSslSupportMethod
.- Returns:
- The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId
, then you also must provideMinimumProtocolVersion
andSslSupportMethod
.
-
minimumProtocolVersion
The security policy that CloudFront uses for HTTPS connections with viewers. If
SslSupportMethod
issni-only
, thenMinimumProtocolVersion
must beTLSv1
or higher.- Returns:
- The security policy that CloudFront uses for HTTPS connections with viewers. If
SslSupportMethod
issni-only
, thenMinimumProtocolVersion
must beTLSv1
or higher.
-
sslSupportMethod
The viewers that the distribution accepts HTTPS connections from.
- Returns:
- The viewers that the distribution accepts HTTPS connections from.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,
AwsCloudFrontDistributionViewerCertificate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends AwsCloudFrontDistributionViewerCertificate.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-