@Generated(value="software.amazon.awssdk:codegen") public final class Change extends Object implements ToCopyableBuilder<Change.Builder,Change>
The information for each resource record set that you want to change.
Modifier and Type | Class and Description |
---|---|
static interface |
Change.Builder |
Modifier and Type | Method and Description |
---|---|
ChangeAction |
action()
The action to perform:
|
String |
actionAsString()
The action to perform:
|
static Change.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceRecordSet |
resourceRecordSet()
Information about the resource record set to create, delete, or update.
|
static Class<? extends Change.Builder> |
serializableBuilderClass() |
Change.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ChangeAction action()
The action to perform:
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance
. Amazon Route 53 will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets
, Amazon Route
53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though
it's no longer in use.
UPSERT
: If a resource record set doesn't already exist, Amazon Route 53 creates it. If a resource
record set does exist, Amazon Route 53 updates it with the values in the request.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance
. Amazon Route 53 will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets
,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
UPSERT
: If a resource record set doesn't already exist, Amazon Route 53 creates it. If a
resource record set does exist, Amazon Route 53 updates it with the values in the request.
ChangeAction
public String actionAsString()
The action to perform:
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance
. Amazon Route 53 will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets
, Amazon Route
53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though
it's no longer in use.
UPSERT
: If a resource record set doesn't already exist, Amazon Route 53 creates it. If a resource
record set does exist, Amazon Route 53 updates it with the values in the request.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
CREATE
: Creates a resource record set that has the specified values.
DELETE
: Deletes a existing resource record set.
To delete the resource record set that is associated with a traffic policy instance, use
DeleteTrafficPolicyInstance
. Amazon Route 53 will delete the resource record set
automatically. If you delete the resource record set by using ChangeResourceRecordSets
,
Amazon Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be
charged for it even though it's no longer in use.
UPSERT
: If a resource record set doesn't already exist, Amazon Route 53 creates it. If a
resource record set does exist, Amazon Route 53 updates it with the values in the request.
ChangeAction
public ResourceRecordSet resourceRecordSet()
Information about the resource record set to create, delete, or update.
public Change.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Change.Builder,Change>
public static Change.Builder builder()
public static Class<? extends Change.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.