@Generated(value="software.amazon.awssdk:codegen") public final class CreateTrafficPolicyRequest extends Route53Request implements ToCopyableBuilder<CreateTrafficPolicyRequest.Builder,CreateTrafficPolicyRequest>
A complex type that contains information about the traffic policy that you want to create.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateTrafficPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateTrafficPolicyRequest.Builder |
builder() |
String |
comment()
(Optional) Any comments that you want to include about the traffic policy.
|
String |
document()
The definition of this traffic policy in JSON format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the traffic policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateTrafficPolicyRequest.Builder> |
serializableBuilderClass() |
CreateTrafficPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the traffic policy.
public String document()
The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.
public String comment()
(Optional) Any comments that you want to include about the traffic policy.
public CreateTrafficPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateTrafficPolicyRequest.Builder,CreateTrafficPolicyRequest>toBuilder in class Route53Requestpublic static CreateTrafficPolicyRequest.Builder builder()
public static Class<? extends CreateTrafficPolicyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.