Class ListDomainsForPackageRequest

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

@Generated("software.amazon.awssdk:codegen") public final class ListDomainsForPackageRequest extends OpenSearchRequest implements ToCopyableBuilder<ListDomainsForPackageRequest.Builder,ListDomainsForPackageRequest>

Container for the request parameters to the ListDomainsForPackage operation.

  • Method Details

    • packageID

      public final String packageID()

      The unique identifier of the package for which to list associated domains.

      Returns:
      The unique identifier of the package for which to list associated domains.
    • maxResults

      public final Integer maxResults()

      An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.

      Returns:
      An optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.
    • nextToken

      public final String nextToken()

      If your initial ListDomainsForPackage operation returns a nextToken, you can include the returned nextToken in subsequent ListDomainsForPackage operations, which returns results in the next page.

      Returns:
      If your initial ListDomainsForPackage operation returns a nextToken, you can include the returned nextToken in subsequent ListDomainsForPackage operations, which returns results in the next page.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListDomainsForPackageRequest.Builder,ListDomainsForPackageRequest>
      Specified by:
      toBuilder in class OpenSearchRequest
    • builder

      public static ListDomainsForPackageRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListDomainsForPackageRequest.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)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo