Class ListDaemonDeploymentsRequest

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

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

    • daemonArn

      public final String daemonArn()

      The Amazon Resource Name (ARN) of the daemon to list deployments for.

      Returns:
      The Amazon Resource Name (ARN) of the daemon to list deployments for.
    • status

      public final List<DaemonDeploymentStatus> status()

      An optional filter to narrow the ListDaemonDeployments results by deployment status. If you don't specify a status, all deployments are returned.

      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 hasStatus() method.

      Returns:
      An optional filter to narrow the ListDaemonDeployments results by deployment status. If you don't specify a status, all deployments are returned.
    • hasStatus

      public final boolean hasStatus()
      For responses, this returns true if the service returned a value for the Status 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.
    • statusAsStrings

      public final List<String> statusAsStrings()

      An optional filter to narrow the ListDaemonDeployments results by deployment status. If you don't specify a status, all deployments are returned.

      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 hasStatus() method.

      Returns:
      An optional filter to narrow the ListDaemonDeployments results by deployment status. If you don't specify a status, all deployments are returned.
    • createdAt

      public final CreatedAt createdAt()

      An optional filter to narrow the ListDaemonDeployments results by creation time. If you don't specify a time range, all deployments are returned.

      Returns:
      An optional filter to narrow the ListDaemonDeployments results by creation time. If you don't specify a time range, all deployments are returned.
    • maxResults

      public final Integer maxResults()

      The maximum number of daemon deployment results that ListDaemonDeployments returned in paginated output. When this parameter is used, ListDaemonDeployments only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListDaemonDeployments request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then ListDaemonDeployments returns up to 20 results and a nextToken value if applicable.

      Returns:
      The maximum number of daemon deployment results that ListDaemonDeployments returned in paginated output. When this parameter is used, ListDaemonDeployments only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListDaemonDeployments request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then ListDaemonDeployments returns up to 20 results and a nextToken value if applicable.
    • nextToken

      public final String nextToken()

      The nextToken value returned from a ListDaemonDeployments request indicating that more results are available to fulfill the request and further calls will be needed. If maxResults was provided, it's possible for the number of results to be fewer than maxResults.

      This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

      Returns:
      The nextToken value returned from a ListDaemonDeployments request indicating that more results are available to fulfill the request and further calls will be needed. If maxResults was provided, it's possible for the number of results to be fewer than maxResults.

      This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListDaemonDeploymentsRequest.Builder,ListDaemonDeploymentsRequest>
      Specified by:
      toBuilder in class EcsRequest
    • builder

      public static ListDaemonDeploymentsRequest.Builder builder()
    • serializableBuilderClass

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