Interface ResourceRecordSetChange.Builder

  • Method Details

    • changeId

      The ID of the change batch that contains the change. To get every change in the change batch, specify this ID in GetHostedZoneChangeBatch.

      Parameters:
      changeId - The ID of the change batch that contains the change. To get every change in the change batch, specify this ID in GetHostedZoneChangeBatch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operation

      The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.

      Parameters:
      operation - The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operation

      The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.

      Parameters:
      operation - The Route 53 API operation that submitted the change. New values might be added, so ignore values that your code doesn't recognize.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • submittedAt

      ResourceRecordSetChange.Builder submittedAt(Instant submittedAt)

      The date and time, in UTC, when the change batch that contains the change was submitted.

      Parameters:
      submittedAt - The date and time, in UTC, when the change batch that contains the change was submitted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • submittedBy

      ResourceRecordSetChange.Builder submittedBy(String submittedBy)

      The Amazon Resource Name of the principal that submitted the request. This element is absent when Route 53 has no principal to record for the change.

      Parameters:
      submittedBy - The Amazon Resource Name of the principal that submitted the request. This element is absent when Route 53 has no principal to record for the change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestId

      The request ID of the call that submitted the change. CloudTrail records the same value in requestID. This element is absent when there was no request.

      Parameters:
      requestId - The request ID of the call that submitted the change. CloudTrail records the same value in requestID. This element is absent when there was no request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The action in the change: CREATE, DELETE, or UPSERT.

      Parameters:
      action - The action in the change: CREATE, DELETE, or UPSERT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action in the change: CREATE, DELETE, or UPSERT.

      Parameters:
      action - The action in the change: CREATE, DELETE, or UPSERT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceRecordSet

      ResourceRecordSetChange.Builder resourceRecordSet(ResourceRecordSet resourceRecordSet)

      The resource record set that the change wrote or deleted, in the same form that ListResourceRecordSets returns. For example, the name is in lowercase and ends with a dot. For an UPSERT or a DELETE, the response doesn't contain the values that the resource record set had before the change.

      Parameters:
      resourceRecordSet - The resource record set that the change wrote or deleted, in the same form that ListResourceRecordSets returns. For example, the name is in lowercase and ends with a dot. For an UPSERT or a DELETE, the response doesn't contain the values that the resource record set had before the change.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceRecordSet

      default ResourceRecordSetChange.Builder resourceRecordSet(Consumer<ResourceRecordSet.Builder> resourceRecordSet)

      The resource record set that the change wrote or deleted, in the same form that ListResourceRecordSets returns. For example, the name is in lowercase and ends with a dot. For an UPSERT or a DELETE, the response doesn't contain the values that the resource record set had before the change.

      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: