Class ListSubscriptionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.datazone.model.DataZoneRequest
-
- software.amazon.awssdk.services.datazone.model.ListSubscriptionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListSubscriptionsRequest.Builder,ListSubscriptionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListSubscriptionsRequest extends DataZoneRequest implements ToCopyableBuilder<ListSubscriptionsRequest.Builder,ListSubscriptionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListSubscriptionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapproverProjectId()The identifier of the project for the subscription's approver.static ListSubscriptionsRequest.Builderbuilder()StringdomainIdentifier()The identifier of the Amazon DataZone domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of subscriptions to return in a single call toListSubscriptions.StringnextToken()When the number of subscriptions is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscriptions, the response includes a pagination token namedNextToken.StringowningProjectId()The identifier of the owning project.List<SdkField<?>>sdkFields()static Class<? extends ListSubscriptionsRequest.Builder>serializableBuilderClass()SortKeysortBy()Specifies the way in which the results of this action are to be sorted.StringsortByAsString()Specifies the way in which the results of this action are to be sorted.SortOrdersortOrder()Specifies the sort order for the results of this action.StringsortOrderAsString()Specifies the sort order for the results of this action.SubscriptionStatusstatus()The status of the subscriptions that you want to list.StringstatusAsString()The status of the subscriptions that you want to list.StringsubscribedListingId()The identifier of the subscribed listing for the subscriptions that you want to list.StringsubscriptionRequestIdentifier()The identifier of the subscription request for the subscriptions that you want to list.ListSubscriptionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
approverProjectId
public final String approverProjectId()
The identifier of the project for the subscription's approver.
- Returns:
- The identifier of the project for the subscription's approver.
-
domainIdentifier
public final String domainIdentifier()
The identifier of the Amazon DataZone domain.
- Returns:
- The identifier of the Amazon DataZone domain.
-
maxResults
public final Integer maxResults()
The maximum number of subscriptions to return in a single call to
ListSubscriptions. When the number of subscriptions to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListSubscriptionsto list the next set of Subscriptions.- Returns:
- The maximum number of subscriptions to return in a single call to
ListSubscriptions. When the number of subscriptions to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListSubscriptionsto list the next set of Subscriptions.
-
nextToken
public final String nextToken()
When the number of subscriptions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscriptions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListSubscriptionsto list the next set of subscriptions.- Returns:
- When the number of subscriptions is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of subscriptions, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListSubscriptionsto list the next set of subscriptions.
-
owningProjectId
public final String owningProjectId()
The identifier of the owning project.
- Returns:
- The identifier of the owning project.
-
sortBy
public final SortKey sortBy()
Specifies the way in which the results of this action are to be sorted.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies the way in which the results of this action are to be sorted.
- See Also:
SortKey
-
sortByAsString
public final String sortByAsString()
Specifies the way in which the results of this action are to be sorted.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSortKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies the way in which the results of this action are to be sorted.
- See Also:
SortKey
-
sortOrder
public final SortOrder sortOrder()
Specifies the sort order for the results of this action.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Specifies the sort order for the results of this action.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
Specifies the sort order for the results of this action.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Specifies the sort order for the results of this action.
- See Also:
SortOrder
-
status
public final SubscriptionStatus status()
The status of the subscriptions that you want to list.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the subscriptions that you want to list.
- See Also:
SubscriptionStatus
-
statusAsString
public final String statusAsString()
The status of the subscriptions that you want to list.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSubscriptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the subscriptions that you want to list.
- See Also:
SubscriptionStatus
-
subscribedListingId
public final String subscribedListingId()
The identifier of the subscribed listing for the subscriptions that you want to list.
- Returns:
- The identifier of the subscribed listing for the subscriptions that you want to list.
-
subscriptionRequestIdentifier
public final String subscriptionRequestIdentifier()
The identifier of the subscription request for the subscriptions that you want to list.
- Returns:
- The identifier of the subscription request for the subscriptions that you want to list.
-
toBuilder
public ListSubscriptionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListSubscriptionsRequest.Builder,ListSubscriptionsRequest>- Specified by:
toBuilderin classDataZoneRequest
-
builder
public static ListSubscriptionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListSubscriptionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-