Class ListSharedProjectsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codebuild.model.CodeBuildRequest
-
- software.amazon.awssdk.services.codebuild.model.ListSharedProjectsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListSharedProjectsRequest.Builder,ListSharedProjectsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListSharedProjectsRequest extends CodeBuildRequest implements ToCopyableBuilder<ListSharedProjectsRequest.Builder,ListSharedProjectsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListSharedProjectsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListSharedProjectsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of paginated shared build projects returned per response.StringnextToken()During a previous call, the maximum number of items that can be returned is the value specified inmaxResults.List<SdkField<?>>sdkFields()static Class<? extends ListSharedProjectsRequest.Builder>serializableBuilderClass()SharedResourceSortByTypesortBy()The criterion to be used to list build projects shared with the current Amazon Web Services account or user.StringsortByAsString()The criterion to be used to list build projects shared with the current Amazon Web Services account or user.SortOrderTypesortOrder()The order in which to list shared build projects.StringsortOrderAsString()The order in which to list shared build projects.ListSharedProjectsRequest.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
-
sortBy
public final SharedResourceSortByType sortBy()
The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:
-
ARN: List based on the ARN. -
MODIFIED_TIME: List based on when information about the shared project was last changed.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSharedResourceSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The criterion to be used to list build projects shared with the current Amazon Web Services account or
user. Valid values include:
-
ARN: List based on the ARN. -
MODIFIED_TIME: List based on when information about the shared project was last changed.
-
- See Also:
SharedResourceSortByType
-
-
sortByAsString
public final String sortByAsString()
The criterion to be used to list build projects shared with the current Amazon Web Services account or user. Valid values include:
-
ARN: List based on the ARN. -
MODIFIED_TIME: List based on when information about the shared project was last changed.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnSharedResourceSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The criterion to be used to list build projects shared with the current Amazon Web Services account or
user. Valid values include:
-
ARN: List based on the ARN. -
MODIFIED_TIME: List based on when information about the shared project was last changed.
-
- See Also:
SharedResourceSortByType
-
-
sortOrder
public final SortOrderType sortOrder()
The order in which to list shared build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order in which to list shared build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
-
- See Also:
SortOrderType
-
-
sortOrderAsString
public final String sortOrderAsString()
The order in which to list shared build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order in which to list shared build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
-
- See Also:
SortOrderType
-
-
maxResults
public final Integer maxResults()
The maximum number of paginated shared build projects returned per response. Use
nextTokento iterate pages in the list of returnedProjectobjects. The default value is 100.- Returns:
- The maximum number of paginated shared build projects returned per response. Use
nextTokento iterate pages in the list of returnedProjectobjects. The default value is 100.
-
nextToken
public final String nextToken()
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.- Returns:
- During a previous call, the maximum number of items that can be returned is the value specified in
maxResults. If there more items in the list, then a unique string called a nextToken is returned. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
-
toBuilder
public ListSharedProjectsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListSharedProjectsRequest.Builder,ListSharedProjectsRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static ListSharedProjectsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListSharedProjectsRequest.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
-
-