Interface Change.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Change.Builder,
,Change> SdkBuilder<Change.Builder,
,Change> SdkPojo
- Enclosing class:
Change
-
Method Summary
Modifier and TypeMethodDescriptionThe action to perform:action
(ChangeAction action) The action to perform:default Change.Builder
resourceRecordSet
(Consumer<ResourceRecordSet.Builder> resourceRecordSet) Information about the resource record set to create, delete, or update.resourceRecordSet
(ResourceRecordSet resourceRecordSet) Information about the resource record set to create, delete, or update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
, 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, Route 53 creates it. If a resource record set does exist, Route 53 updates it with the values in the request.
- Parameters:
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
, 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, Route 53 creates it. If a resource record set does exist, Route 53 updates it with the values in the request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
, 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, Route 53 creates it. If a resource record set does exist, Route 53 updates it with the values in the request.
- Parameters:
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
, 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, Route 53 creates it. If a resource record set does exist, Route 53 updates it with the values in the request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceRecordSet
Information about the resource record set to create, delete, or update.
- Parameters:
resourceRecordSet
- Information about the resource record set to create, delete, or update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRecordSet
Information about the resource record set to create, delete, or update.
This is a convenience method that creates an instance of theResourceRecordSet.Builder
avoiding the need to create one manually viaResourceRecordSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceRecordSet(ResourceRecordSet)
.- Parameters:
resourceRecordSet
- a consumer that will call methods onResourceRecordSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-