Class PrivateCaCrlConfiguration

java.lang.Object
software.amazon.awssdk.services.acm.model.PrivateCaCrlConfiguration
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<PrivateCaCrlConfiguration.Builder,PrivateCaCrlConfiguration>

@Generated("software.amazon.awssdk:codegen") public final class PrivateCaCrlConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PrivateCaCrlConfiguration.Builder,PrivateCaCrlConfiguration>

A certificate authority's certificate revocation list (CRL), as in the CrlConfiguration type of AWS Private Certificate Authority (AWS Private CA). For details, see CrlConfiguration in the AWS Private CA API Reference. AWS Private CA writes CRLs to the Amazon S3 bucket named by S3BucketName in its own CrlConfiguration, which you set with AWS Private CA in the member account.

See Also:
  • Method Details

    • enabled

      public final Boolean enabled()

      Whether the certificate authority publishes a CRL.

      Returns:
      Whether the certificate authority publishes a CRL.
    • expirationInDays

      public final Integer expirationInDays()

      How many days a published CRL is valid, 1 to 5,000.

      Returns:
      How many days a published CRL is valid, 1 to 5,000.
    • customCname

      public final String customCname()

      A DNS name that certificates name as the CRL distribution point in place of the Amazon S3 bucket's name.

      Returns:
      A DNS name that certificates name as the CRL distribution point in place of the Amazon S3 bucket's name.
    • s3ObjectAcl

      public final PrivateCaS3ObjectAcl s3ObjectAcl()

      Who can read the CRL object in the Amazon S3 bucket.

      If the service returns an enum value that is not available in the current SDK version, s3ObjectAcl will return PrivateCaS3ObjectAcl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from s3ObjectAclAsString().

      Returns:
      Who can read the CRL object in the Amazon S3 bucket.
      See Also:
    • s3ObjectAclAsString

      public final String s3ObjectAclAsString()

      Who can read the CRL object in the Amazon S3 bucket.

      If the service returns an enum value that is not available in the current SDK version, s3ObjectAcl will return PrivateCaS3ObjectAcl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from s3ObjectAclAsString().

      Returns:
      Who can read the CRL object in the Amazon S3 bucket.
      See Also:
    • crlDistributionPointExtensionConfiguration

      public final PrivateCaCrlDistributionPointExtensionConfiguration crlDistributionPointExtensionConfiguration()

      Whether certificates the certificate authority issues name the CRL distribution point.

      Returns:
      Whether certificates the certificate authority issues name the CRL distribution point.
    • crlType

      public final PrivateCaCrlType crlType()

      Whether the certificate authority publishes one complete CRL or partitioned CRLs.

      If the service returns an enum value that is not available in the current SDK version, crlType will return PrivateCaCrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from crlTypeAsString().

      Returns:
      Whether the certificate authority publishes one complete CRL or partitioned CRLs.
      See Also:
    • crlTypeAsString

      public final String crlTypeAsString()

      Whether the certificate authority publishes one complete CRL or partitioned CRLs.

      If the service returns an enum value that is not available in the current SDK version, crlType will return PrivateCaCrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from crlTypeAsString().

      Returns:
      Whether the certificate authority publishes one complete CRL or partitioned CRLs.
      See Also:
    • customPath

      public final String customPath()

      The path of the CRL in the Amazon S3 bucket.

      Returns:
      The path of the CRL in the Amazon S3 bucket.
    • 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 interface ToCopyableBuilder<PrivateCaCrlConfiguration.Builder,PrivateCaCrlConfiguration>
      Returns:
      a builder for type T
    • builder

      public static PrivateCaCrlConfiguration.Builder builder()
    • serializableBuilderClass

      public static Class<? extends PrivateCaCrlConfiguration.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      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 an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.