@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateHostedZoneCommentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to update the comment for a hosted zone.
NOOP
Constructor and Description |
---|
UpdateHostedZoneCommentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateHostedZoneCommentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getComment()
The new comment for the hosted zone.
|
String |
getId()
The ID for the hosted zone that you want to update the comment for.
|
int |
hashCode() |
void |
setComment(String comment)
The new comment for the hosted zone.
|
void |
setId(String id)
The ID for the hosted zone that you want to update the comment for.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateHostedZoneCommentRequest |
withComment(String comment)
The new comment for the hosted zone.
|
UpdateHostedZoneCommentRequest |
withId(String id)
The ID for the hosted zone that you want to update the comment for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The ID for the hosted zone that you want to update the comment for.
id
- The ID for the hosted zone that you want to update the comment for.public String getId()
The ID for the hosted zone that you want to update the comment for.
public UpdateHostedZoneCommentRequest withId(String id)
The ID for the hosted zone that you want to update the comment for.
id
- The ID for the hosted zone that you want to update the comment for.public void setComment(String comment)
The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route 53
deletes the existing value of the Comment
element, if any.
comment
- The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route
53 deletes the existing value of the Comment
element, if any.public String getComment()
The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route 53
deletes the existing value of the Comment
element, if any.
Comment
, Amazon Route
53 deletes the existing value of the Comment
element, if any.public UpdateHostedZoneCommentRequest withComment(String comment)
The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route 53
deletes the existing value of the Comment
element, if any.
comment
- The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route
53 deletes the existing value of the Comment
element, if any.public String toString()
toString
in class Object
Object.toString()
public UpdateHostedZoneCommentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.