public class UpdateDomainContactPrivacyRequest extends AmazonWebServiceRequest implements Serializable
UpdateDomainContactPrivacy operation
.
This operation updates the specified domain contact's privacy setting. When the privacy option is enabled, personal information such as postal or email address is hidden from the results of a public WHOIS query. The privacy services are provided by the AWS registrar, Gandi. For more information, see the Gandi privacy features .
This operation only affects the privacy of the specified contact type (registrant, administrator, or tech). Successful acceptance returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
NOOP
Constructor and Description |
---|
UpdateDomainContactPrivacyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getAdminPrivacy()
Whether you want to conceal contact information from WHOIS queries.
|
String |
getDomainName()
The name of a domain.
|
Boolean |
getRegistrantPrivacy()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
getTechPrivacy()
Whether you want to conceal contact information from WHOIS queries.
|
int |
hashCode() |
Boolean |
isAdminPrivacy()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
isRegistrantPrivacy()
Whether you want to conceal contact information from WHOIS queries.
|
Boolean |
isTechPrivacy()
Whether you want to conceal contact information from WHOIS queries.
|
void |
setAdminPrivacy(Boolean adminPrivacy)
Whether you want to conceal contact information from WHOIS queries.
|
void |
setDomainName(String domainName)
The name of a domain.
|
void |
setRegistrantPrivacy(Boolean registrantPrivacy)
Whether you want to conceal contact information from WHOIS queries.
|
void |
setTechPrivacy(Boolean techPrivacy)
Whether you want to conceal contact information from WHOIS queries.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDomainContactPrivacyRequest |
withAdminPrivacy(Boolean adminPrivacy)
Whether you want to conceal contact information from WHOIS queries.
|
UpdateDomainContactPrivacyRequest |
withDomainName(String domainName)
The name of a domain.
|
UpdateDomainContactPrivacyRequest |
withRegistrantPrivacy(Boolean registrantPrivacy)
Whether you want to conceal contact information from WHOIS queries.
|
UpdateDomainContactPrivacyRequest |
withTechPrivacy(Boolean techPrivacy)
Whether you want to conceal contact information from WHOIS queries.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDomainName()
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public void setDomainName(String domainName)
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName
- The name of a domain. Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public UpdateDomainContactPrivacyRequest withDomainName(String domainName)
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName
- The name of a domain. Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public Boolean isAdminPrivacy()
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public void setAdminPrivacy(Boolean adminPrivacy)
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
adminPrivacy
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public UpdateDomainContactPrivacyRequest withAdminPrivacy(Boolean adminPrivacy)
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Returns a reference to this object so that method calls can be chained together.
adminPrivacy
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public Boolean getAdminPrivacy()
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public Boolean isRegistrantPrivacy()
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public void setRegistrantPrivacy(Boolean registrantPrivacy)
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
registrantPrivacy
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public UpdateDomainContactPrivacyRequest withRegistrantPrivacy(Boolean registrantPrivacy)
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Returns a reference to this object so that method calls can be chained together.
registrantPrivacy
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public Boolean getRegistrantPrivacy()
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public Boolean isTechPrivacy()
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public void setTechPrivacy(Boolean techPrivacy)
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
techPrivacy
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public UpdateDomainContactPrivacyRequest withTechPrivacy(Boolean techPrivacy)
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Returns a reference to this object so that method calls can be chained together.
techPrivacy
- Whether you want to conceal contact information from WHOIS queries. If
you specify true, WHOIS ("who is") queries will return contact
information for our registrar partner, Gandi, instead of the contact
information that you enter. Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public Boolean getTechPrivacy()
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
Type: Boolean
Default: None
Valid
values: true
| false
Required: No
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.