@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTrafficPolicyCommentRequest extends Route53Request implements ToCopyableBuilder<UpdateTrafficPolicyCommentRequest.Builder,UpdateTrafficPolicyCommentRequest>
A complex type that contains information about the traffic policy that you want to update the comment for.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTrafficPolicyCommentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTrafficPolicyCommentRequest.Builder |
builder() |
String |
comment()
The new comment for the specified traffic policy and version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The value of
Id for the traffic policy that you want to update the comment for. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTrafficPolicyCommentRequest.Builder> |
serializableBuilderClass() |
UpdateTrafficPolicyCommentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
version()
The value of
Version for the traffic policy that you want to update the comment for. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The value of Id for the traffic policy that you want to update the comment for.
Id for the traffic policy that you want to update the comment for.public final Integer version()
The value of Version for the traffic policy that you want to update the comment for.
Version for the traffic policy that you want to update the comment for.public final String comment()
The new comment for the specified traffic policy and version.
public UpdateTrafficPolicyCommentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTrafficPolicyCommentRequest.Builder,UpdateTrafficPolicyCommentRequest>toBuilder in class Route53Requestpublic static UpdateTrafficPolicyCommentRequest.Builder builder()
public static Class<? extends UpdateTrafficPolicyCommentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.