Interface ListQuotaSharesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BatchResponse.Builder,Buildable,CopyableBuilder<ListQuotaSharesResponse.Builder,ListQuotaSharesResponse>,SdkBuilder<ListQuotaSharesResponse.Builder,ListQuotaSharesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListQuotaSharesResponse
@Mutable @NotThreadSafe public static interface ListQuotaSharesResponse.Builder extends BatchResponse.Builder, SdkPojo, CopyableBuilder<ListQuotaSharesResponse.Builder,ListQuotaSharesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListQuotaSharesResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListQuotaSharesrequest.ListQuotaSharesResponse.BuilderquotaShares(Collection<QuotaShareDetail> quotaShares)A list of quota shares that match the request.ListQuotaSharesResponse.BuilderquotaShares(Consumer<QuotaShareDetail.Builder>... quotaShares)A list of quota shares that match the request.ListQuotaSharesResponse.BuilderquotaShares(QuotaShareDetail... quotaShares)A list of quota shares that match the request.-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
quotaShares
ListQuotaSharesResponse.Builder quotaShares(Collection<QuotaShareDetail> quotaShares)
A list of quota shares that match the request.
- Parameters:
quotaShares- A list of quota shares that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotaShares
ListQuotaSharesResponse.Builder quotaShares(QuotaShareDetail... quotaShares)
A list of quota shares that match the request.
- Parameters:
quotaShares- A list of quota shares that match the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quotaShares
ListQuotaSharesResponse.Builder quotaShares(Consumer<QuotaShareDetail.Builder>... quotaShares)
A list of quota shares that match the request.
This is a convenience method that creates an instance of theQuotaShareDetail.Builderavoiding the need to create one manually viaQuotaShareDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#quotaShares(List.) - Parameters:
quotaShares- a consumer that will call methods onQuotaShareDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#quotaShares(java.util.Collection)
-
nextToken
ListQuotaSharesResponse.Builder nextToken(String nextToken)
The
nextTokenvalue to include in a futureListQuotaSharesrequest. When the results of aListQuotaSharesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListQuotaSharesrequest. When the results of aListQuotaSharesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-