Class ListProjectMembershipsRequest
- 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.ListProjectMembershipsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListProjectMembershipsRequest.Builder,ListProjectMembershipsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListProjectMembershipsRequest extends DataZoneRequest implements ToCopyableBuilder<ListProjectMembershipsRequest.Builder,ListProjectMembershipsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListProjectMembershipsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProjectMembershipsRequest.Builderbuilder()StringdomainIdentifier()The identifier of the Amazon DataZone domain in which you want to list project memberships.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of memberships to return in a single call toListProjectMemberships.StringnextToken()When the number of memberships is greater than the default value for theMaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of memberships, the response includes a pagination token namedNextToken.StringprojectIdentifier()The identifier of the project whose memberships you want to list.List<SdkField<?>>sdkFields()static Class<? extends ListProjectMembershipsRequest.Builder>serializableBuilderClass()SortFieldProjectsortBy()The method by which you want to sort the project memberships.StringsortByAsString()The method by which you want to sort the project memberships.SortOrdersortOrder()The sort order of the project memberships.StringsortOrderAsString()The sort order of the project memberships.ListProjectMembershipsRequest.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
-
domainIdentifier
public final String domainIdentifier()
The identifier of the Amazon DataZone domain in which you want to list project memberships.
- Returns:
- The identifier of the Amazon DataZone domain in which you want to list project memberships.
-
maxResults
public final Integer maxResults()
The maximum number of memberships to return in a single call to
ListProjectMemberships. When the number of memberships to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListProjectMembershipsto list the next set of memberships.- Returns:
- The maximum number of memberships to return in a single call to
ListProjectMemberships. When the number of memberships to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListProjectMembershipsto list the next set of memberships.
-
nextToken
public final String nextToken()
When the number of memberships is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of memberships, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListProjectMembershipsto list the next set of memberships.- Returns:
- When the number of memberships is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of memberships, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListProjectMembershipsto list the next set of memberships.
-
projectIdentifier
public final String projectIdentifier()
The identifier of the project whose memberships you want to list.
- Returns:
- The identifier of the project whose memberships you want to list.
-
sortBy
public final SortFieldProject sortBy()
The method by which you want to sort the project memberships.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSortFieldProject.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The method by which you want to sort the project memberships.
- See Also:
SortFieldProject
-
sortByAsString
public final String sortByAsString()
The method by which you want to sort the project memberships.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSortFieldProject.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The method by which you want to sort the project memberships.
- See Also:
SortFieldProject
-
sortOrder
public final SortOrder sortOrder()
The sort order of the project memberships.
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:
- The sort order of the project memberships.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
The sort order of the project memberships.
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:
- The sort order of the project memberships.
- See Also:
SortOrder
-
toBuilder
public ListProjectMembershipsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListProjectMembershipsRequest.Builder,ListProjectMembershipsRequest>- Specified by:
toBuilderin classDataZoneRequest
-
builder
public static ListProjectMembershipsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListProjectMembershipsRequest.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
-
-