Class AliasICPRecordal

    • Method Detail

      • cname

        public final String cname()

        A domain name associated with a distribution.

        Returns:
        A domain name associated with a distribution.
      • icpRecordalStatus

        public final ICPRecordalStatus icpRecordalStatus()

        The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

        The status values returned are the following:

        • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

        • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

        • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

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

        Returns:
        The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

        The status values returned are the following:

        • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

        • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

        • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

        See Also:
        ICPRecordalStatus
      • icpRecordalStatusAsString

        public final String icpRecordalStatusAsString()

        The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

        The status values returned are the following:

        • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

        • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

        • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

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

        Returns:
        The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in regions outside of China.

        The status values returned are the following:

        • APPROVED indicates that the associated CNAME has a valid ICP recordal number. Multiple CNAMEs can be associated with a distribution, and CNAMEs can correspond to different ICP recordals. To be marked as APPROVED, that is, valid to use with China region, a CNAME must have one ICP recordal number associated with it.

        • SUSPENDED indicates that the associated CNAME does not have a valid ICP recordal number.

        • PENDING indicates that CloudFront can't determine the ICP recordal status of the CNAME associated with the distribution because there was an error in trying to determine the status. You can try again to see if the error is resolved in which case CloudFront returns an APPROVED or SUSPENDED status.

        See Also:
        ICPRecordalStatus
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)