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 Details

    • 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:
    • 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:
    • 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 the ResourceRecordSet.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).

      Parameters:
      resourceRecordSet - a consumer that will call methods on ResourceRecordSet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: