@Generated(value="software.amazon.awssdk:codegen") public final class AliasICPRecordal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AliasICPRecordal.Builder,AliasICPRecordal>
AWS 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 AWS services in China.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AliasICPRecordal.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AliasICPRecordal.Builder |
builder() |
String |
cname()
A domain name associated with a distribution.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ICPRecordalStatus |
icpRecordalStatus()
The Internet Content Provider (ICP) recordal status for a CNAME.
|
String |
icpRecordalStatusAsString()
The Internet Content Provider (ICP) recordal status for a CNAME.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AliasICPRecordal.Builder> |
serializableBuilderClass() |
AliasICPRecordal.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String cname()
A domain name associated with a distribution.
public 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 at least one CNAME associated with the distribution does not have a valid ICP recordal number.
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().
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 at least one CNAME associated with the distribution does not have a valid ICP recordal number.
ICPRecordalStatuspublic 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 at least one CNAME associated with the distribution does not have a valid ICP recordal number.
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().
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 at least one CNAME associated with the distribution does not have a valid ICP recordal number.
ICPRecordalStatuspublic AliasICPRecordal.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AliasICPRecordal.Builder,AliasICPRecordal>public static AliasICPRecordal.Builder builder()
public static Class<? extends AliasICPRecordal.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.