Interface ListReceivedGrantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReceivedGrantsResponse.Builder,,ListReceivedGrantsResponse> LicenseManagerResponse.Builder,SdkBuilder<ListReceivedGrantsResponse.Builder,,ListReceivedGrantsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListReceivedGrantsResponse
public static interface ListReceivedGrantsResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListReceivedGrantsResponse.Builder,ListReceivedGrantsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongrants(Collection<Grant> grants) Received grant details.grants(Consumer<Grant.Builder>... grants) Received grant details.Received grant details.Token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
grants
Received grant details.
- Parameters:
grants- Received grant details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
Received grant details.
- Parameters:
grants- Received grant details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
Received grant details.
This is a convenience method that creates an instance of theGrant.Builderavoiding the need to create one manually viaGrant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togrants(List<Grant>).- Parameters:
grants- a consumer that will call methods onGrant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for the next set of results.
- Parameters:
nextToken- Token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-