Class AwsCloudFrontDistributionViewerCertificate
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsCloudFrontDistributionViewerCertificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,AwsCloudFrontDistributionViewerCertificate>
@Generated("software.amazon.awssdk:codegen") public final class AwsCloudFrontDistributionViewerCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,AwsCloudFrontDistributionViewerCertificate>
Provides information about the TLS/SSL configuration that the CloudFront distribution uses to communicate with viewers.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsCloudFrontDistributionViewerCertificate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacmCertificateArn()The ARN of the ACM certificate.static AwsCloudFrontDistributionViewerCertificate.Builderbuilder()Stringcertificate()The identifier of the certificate.StringcertificateSource()The source of the certificate identified byCertificate.BooleancloudFrontDefaultCertificate()Whether the distribution uses the CloudFront domain name.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamCertificateId()The identifier of the IAM certificate.StringminimumProtocolVersion()The security policy that CloudFront uses for HTTPS connections with viewers.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsCloudFrontDistributionViewerCertificate.Builder>serializableBuilderClass()StringsslSupportMethod()The viewers that the distribution accepts HTTPS connections from.AwsCloudFrontDistributionViewerCertificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
acmCertificateArn
public final String 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
MinimumCertificateVersionandSslSupportMethod.- 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
MinimumCertificateVersionandSslSupportMethod.
-
certificate
public final String 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
public final String 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
public final Boolean cloudFrontDefaultCertificate()
Whether the distribution uses the CloudFront domain name. If set to
false, then you provide eitherAcmCertificateArnorIamCertificateId.- Returns:
- Whether the distribution uses the CloudFront domain name. If set to
false, then you provide eitherAcmCertificateArnorIamCertificateId.
-
iamCertificateId
public final String iamCertificateId()
The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provideMinimumProtocolVersionandSslSupportMethod.- Returns:
- The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide
IamCertificateId, then you also must provideMinimumProtocolVersionandSslSupportMethod.
-
minimumProtocolVersion
public final String minimumProtocolVersion()
The security policy that CloudFront uses for HTTPS connections with viewers. If
SslSupportMethodissni-only, thenMinimumProtocolVersionmust beTLSv1or higher.- Returns:
- The security policy that CloudFront uses for HTTPS connections with viewers. If
SslSupportMethodissni-only, thenMinimumProtocolVersionmust beTLSv1or higher.
-
sslSupportMethod
public final String sslSupportMethod()
The viewers that the distribution accepts HTTPS connections from.
- Returns:
- The viewers that the distribution accepts HTTPS connections from.
-
toBuilder
public AwsCloudFrontDistributionViewerCertificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsCloudFrontDistributionViewerCertificate.Builder,AwsCloudFrontDistributionViewerCertificate>
-
builder
public static AwsCloudFrontDistributionViewerCertificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsCloudFrontDistributionViewerCertificate.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-