Class ListHostedZoneChangeBatchesRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListHostedZoneChangeBatchesRequest.Builder,ListHostedZoneChangeBatchesRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListHostedZoneChangeBatchesRequest extends Route53Request implements ToCopyableBuilder<ListHostedZoneChangeBatchesRequest.Builder,ListHostedZoneChangeBatchesRequest>
  • Method Details

    • hostedZoneId

      public final String hostedZoneId()

      The ID of the hosted zone that you want to list change batches for.

      Returns:
      The ID of the hosted zone that you want to list change batches for.
    • submittedAfter

      public final String submittedAfter()

      The start of the time range, in ISO 8601 format with a UTC offset, for example 2026-12-01T00:00:00Z or 2026-12-01T05:30:00.123+05:30. You can specify up to nine fractional digits. Route 53 rounds a value with more than millisecond precision up to the next millisecond. The range includes SubmittedAfter.

      If you don't specify a value, the range starts at RetentionStartsAt. If you specify a value that's earlier than RetentionStartsAt, Route 53 returns an InvalidInput error that includes the earliest time that you can specify.

      Because submit times can be slightly out of order, a returned SubmittedAt can fall just outside the range that you requested.

      Returns:
      The start of the time range, in ISO 8601 format with a UTC offset, for example 2026-12-01T00:00:00Z or 2026-12-01T05:30:00.123+05:30. You can specify up to nine fractional digits. Route 53 rounds a value with more than millisecond precision up to the next millisecond. The range includes SubmittedAfter.

      If you don't specify a value, the range starts at RetentionStartsAt. If you specify a value that's earlier than RetentionStartsAt, Route 53 returns an InvalidInput error that includes the earliest time that you can specify.

      Because submit times can be slightly out of order, a returned SubmittedAt can fall just outside the range that you requested.

    • submittedBefore

      public final String submittedBefore()

      The end of the time range, in ISO 8601 format with a UTC offset, for example 2026-12-02T00:00:00Z or 2026-12-02T05:30:00.123+05:30. You can specify up to nine fractional digits. Route 53 rounds a value with more than millisecond precision up to the next millisecond. The range excludes SubmittedBefore. The value must be at least one millisecond later than SubmittedAfter, or later than RetentionStartsAt if you omit SubmittedAfter.

      If the range ends within a few seconds of the current time, a later request for the same range might return more change batches.

      Returns:
      The end of the time range, in ISO 8601 format with a UTC offset, for example 2026-12-02T00:00:00Z or 2026-12-02T05:30:00.123+05:30. You can specify up to nine fractional digits. Route 53 rounds a value with more than millisecond precision up to the next millisecond. The range excludes SubmittedBefore. The value must be at least one millisecond later than SubmittedAfter, or later than RetentionStartsAt if you omit SubmittedAfter.

      If the range ends within a few seconds of the current time, a later request for the same range might return more change batches.

    • startAfterChangeId

      public final String startAfterChangeId()

      Returns the change batches after the specified change batch, not including it. Use this to read new change batches since the last change batch that you processed.

      If you specify StartAfterChangeId, you must also specify SortOrder ASCENDING, and you can't specify SubmittedAfter or SubmittedBefore. If the change batch has expired, is from before RetentionStartsAt, or isn't in the hosted zone, Route 53 returns an InvalidInput error.

      Returns:
      Returns the change batches after the specified change batch, not including it. Use this to read new change batches since the last change batch that you processed.

      If you specify StartAfterChangeId, you must also specify SortOrder ASCENDING, and you can't specify SubmittedAfter or SubmittedBefore . If the change batch has expired, is from before RetentionStartsAt, or isn't in the hosted zone, Route 53 returns an InvalidInput error.

    • sortOrder

      public final ChangeHistorySortOrder sortOrder()

      The order in which you want Route 53 to return change batches. Valid values:

      • DESCENDING – Newest first. This is the default.

      • ASCENDING – Oldest first.

      If the service returns an enum value that is not available in the current SDK version, sortOrder will return ChangeHistorySortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

      Returns:
      The order in which you want Route 53 to return change batches. Valid values:

      • DESCENDING – Newest first. This is the default.

      • ASCENDING – Oldest first.

      See Also:
    • sortOrderAsString

      public final String sortOrderAsString()

      The order in which you want Route 53 to return change batches. Valid values:

      • DESCENDING – Newest first. This is the default.

      • ASCENDING – Oldest first.

      If the service returns an enum value that is not available in the current SDK version, sortOrder will return ChangeHistorySortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sortOrderAsString().

      Returns:
      The order in which you want Route 53 to return change batches. Valid values:

      • DESCENDING – Newest first. This is the default.

      • ASCENDING – Oldest first.

      See Also:
    • maxResults

      public final String maxResults()

      The maximum number of change batches that you want Route 53 to return in this response. Specify a value from 1 to 1,000. If you don't specify a value, Route 53 returns up to 100 change batches.

      Returns:
      The maximum number of change batches that you want Route 53 to return in this response. Specify a value from 1 to 1,000. If you don't specify a value, Route 53 returns up to 100 change batches.
    • nextToken

      public final String nextToken()

      If the response to a previous ListHostedZoneChangeBatches request included a NextToken element, specify that value here to get the next page of results. If the previous request included any of the following parameters, include them with exactly the same values: SubmittedAfter, SubmittedBefore, SortOrder, and StartAfterChangeId. If you don't, Route 53 returns an InvalidInput error. If you don't specify NextToken, Route 53 returns the first page of results.

      A NextToken expires 24 hours after Route 53 returns it, and you can use it only with the hosted zone that it was returned for.

      Returns:
      If the response to a previous ListHostedZoneChangeBatches request included a NextToken element, specify that value here to get the next page of results. If the previous request included any of the following parameters, include them with exactly the same values: SubmittedAfter, SubmittedBefore, SortOrder, and StartAfterChangeId. If you don't, Route 53 returns an InvalidInput error. If you don't specify NextToken, Route 53 returns the first page of results.

      A NextToken expires 24 hours after Route 53 returns it, and you can use it only with the hosted zone that it was returned for.

    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ListHostedZoneChangeBatchesRequest.Builder,ListHostedZoneChangeBatchesRequest>
      Specified by:
      toBuilder in class Route53Request
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends ListHostedZoneChangeBatchesRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Description copied from class: SdkRequest
      Used to retrieve the value of a field from any class that extends SdkRequest. The field name specified should match the member name from the corresponding service-2.json model specified in the codegen-resources folder for a given service. The class specifies what class to cast the returned value to. If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will again be available.
      Overrides:
      getValueForField in class SdkRequest
      Parameters:
      fieldName - The name of the member to be retrieved.
      clazz - The class to cast the returned object to.
      Returns:
      Optional containing the casted return value
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.