Interface Change.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Change.Builder,Change>,SdkBuilder<Change.Builder,Change>,SdkPojo
- Enclosing class:
- Change
public static interface Change.Builder extends SdkPojo, CopyableBuilder<Change.Builder,Change>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Change.Builderaction(String action)The action to perform:Change.Builderaction(ChangeAction action)The action to perform:default Change.BuilderresourceRecordSet(Consumer<ResourceRecordSet.Builder> resourceRecordSet)Information about the resource record set to create, delete, or update.Change.BuilderresourceRecordSet(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 Detail
-
action
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, 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:
ChangeAction,ChangeAction
-
-
action
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, 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:
ChangeAction,ChangeAction
-
-
resourceRecordSet
Change.Builder resourceRecordSet(ResourceRecordSet 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
default Change.Builder resourceRecordSet(Consumer<ResourceRecordSet.Builder> resourceRecordSet)
Information about the resource record set to create, delete, or update.
This is a convenience method that creates an instance of theResourceRecordSet.Builderavoiding the need to create one manually viaResourceRecordSet.builder().When the
Consumercompletes,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:
resourceRecordSet(ResourceRecordSet)
-
-