Class AliasICPRecordal
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.model.AliasICPRecordal
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AliasICPRecordal.Builder,AliasICPRecordal>
@Generated("software.amazon.awssdk:codegen") public final class AliasICPRecordal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AliasICPRecordal.Builder,AliasICPRecordal>
Amazon Web Services services in China customers must file for an Internet Content Provider (ICP) recordal if they want to serve content publicly on an alternate domain name, also known as a CNAME, that they've added to CloudFront. AliasICPRecordal provides the ICP recordal status for CNAMEs associated with distributions. The status is returned in the CloudFront response; you can't configure it yourself.
For more information about ICP recordals, see Signup, Accounts, and Credentials in Getting Started with Amazon Web Services services in China.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAliasICPRecordal.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AliasICPRecordal.Builderbuilder()Stringcname()A domain name associated with a distribution.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ICPRecordalStatusicpRecordalStatus()The Internet Content Provider (ICP) recordal status for a CNAME.StringicpRecordalStatusAsString()The Internet Content Provider (ICP) recordal status for a CNAME.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AliasICPRecordal.Builder>serializableBuilderClass()AliasICPRecordal.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
-
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 Amazon Web Services 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 the China Regions, 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,
icpRecordalStatuswill returnICPRecordalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromicpRecordalStatusAsString().- Returns:
- The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED
for all CNAMEs (aliases) in Amazon Web Services 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 the China Regions, 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 Amazon Web Services 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 the China Regions, 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,
icpRecordalStatuswill returnICPRecordalStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromicpRecordalStatusAsString().- Returns:
- The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus is set to APPROVED
for all CNAMEs (aliases) in Amazon Web Services 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 the China Regions, 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
-
-
toBuilder
public AliasICPRecordal.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AliasICPRecordal.Builder,AliasICPRecordal>
-
builder
public static AliasICPRecordal.Builder builder()
-
serializableBuilderClass
public static Class<? extends AliasICPRecordal.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
-
-