public class UpdateHostedZoneCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateHostedZoneComment operation
.
To update the hosted zone comment, send a POST
request
to the 2013-04-01/hostedzone/hosted zone ID
resource.
The request body must include an XML document with a
UpdateHostedZoneCommentRequest
element. The response to
this request includes the modified HostedZone
element.
NOTE: The comment can have a maximum length of 256 characters.
NOOP
Constructor and Description |
---|
UpdateHostedZoneCommentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateHostedZoneCommentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getComment()
A comment about your hosted zone.
|
String |
getId()
The ID of the hosted zone you want to update.
|
int |
hashCode() |
void |
setComment(String comment)
A comment about your hosted zone.
|
void |
setId(String id)
The ID of the hosted zone you want to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateHostedZoneCommentRequest |
withComment(String comment)
A comment about your hosted zone.
|
UpdateHostedZoneCommentRequest |
withId(String id)
The ID of the hosted zone you want to update.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getId()
Constraints:
Length: 0 - 32
public void setId(String id)
Constraints:
Length: 0 - 32
id
- The ID of the hosted zone you want to update.public UpdateHostedZoneCommentRequest withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
id
- The ID of the hosted zone you want to update.public String getComment()
Constraints:
Length: 0 - 256
public void setComment(String comment)
Constraints:
Length: 0 - 256
comment
- A comment about your hosted zone.public UpdateHostedZoneCommentRequest withComment(String comment)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
comment
- A comment about your hosted zone.public String toString()
toString
in class Object
Object.toString()
public UpdateHostedZoneCommentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.