Class ListAssetInstancesRequest

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

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

    • outpostIdentifier

      public final String outpostIdentifier()

      The ID of the Outpost.

      Returns:
      The ID of the Outpost.
    • hasAssetIdFilter

      public final boolean hasAssetIdFilter()
      For responses, this returns true if the service returned a value for the AssetIdFilter property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • assetIdFilter

      public final List<String> assetIdFilter()

      Filters the results by asset ID.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAssetIdFilter() method.

      Returns:
      Filters the results by asset ID.
    • hasInstanceTypeFilter

      public final boolean hasInstanceTypeFilter()
      For responses, this returns true if the service returned a value for the InstanceTypeFilter property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • instanceTypeFilter

      public final List<String> instanceTypeFilter()

      Filters the results by instance ID.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasInstanceTypeFilter() method.

      Returns:
      Filters the results by instance ID.
    • hasAccountIdFilter

      public final boolean hasAccountIdFilter()
      For responses, this returns true if the service returned a value for the AccountIdFilter property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • accountIdFilter

      public final List<String> accountIdFilter()

      Filters the results by account ID.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAccountIdFilter() method.

      Returns:
      Filters the results by account ID.
    • awsServiceFilter

      public final List<AWSServiceName> awsServiceFilter()

      Filters the results by Amazon Web Services service.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAwsServiceFilter() method.

      Returns:
      Filters the results by Amazon Web Services service.
    • hasAwsServiceFilter

      public final boolean hasAwsServiceFilter()
      For responses, this returns true if the service returned a value for the AwsServiceFilter property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • awsServiceFilterAsStrings

      public final List<String> awsServiceFilterAsStrings()

      Filters the results by Amazon Web Services service.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAwsServiceFilter() method.

      Returns:
      Filters the results by Amazon Web Services service.
    • maxResults

      public final Integer maxResults()
      Returns the value of the MaxResults property for this object.
      Returns:
      The value of the MaxResults property for this object.
    • nextToken

      public final String nextToken()
      Returns the value of the NextToken property for this object.
      Returns:
      The value of the NextToken property for this object.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListAssetInstancesRequest.Builder,ListAssetInstancesRequest>
      Specified by:
      toBuilder in class OutpostsRequest
    • builder

      public static ListAssetInstancesRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListAssetInstancesRequest.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