public static interface Change.Builder extends CopyableBuilder<Change.Builder,Change>
Modifier and Type | Method and Description |
---|---|
Change.Builder |
action(ChangeAction action)
The action to perform:
|
Change.Builder |
action(String action)
The action to perform:
|
default Change.Builder |
resourceRecordSet(Consumer<ResourceRecordSet.Builder> resourceRecordSet)
Information about the resource record set to create, delete, or update.
|
Change.Builder |
resourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create, delete, or update.
|
copy
apply, build
Change.Builder action(String 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.
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.
ChangeAction
,
ChangeAction
Change.Builder action(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.
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.
ChangeAction
,
ChangeAction
Change.Builder resourceRecordSet(ResourceRecordSet resourceRecordSet)
Information about the resource record set to create, delete, or update.
resourceRecordSet
- Information about the resource record set to create, delete, or update.default Change.Builder resourceRecordSet(Consumer<ResourceRecordSet.Builder> resourceRecordSet)
Information about the resource record set to create, delete, or update.
This is a convenience that creates an instance of theResourceRecordSet.Builder
avoiding the need to
create one manually via ResourceRecordSet.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to resourceRecordSet(ResourceRecordSet)
.resourceRecordSet
- a consumer that will call methods on ResourceRecordSet.Builder
resourceRecordSet(ResourceRecordSet)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.