Interface ListDistributedGrantsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDistributedGrantsResponse.Builder,
,ListDistributedGrantsResponse> LicenseManagerResponse.Builder
,SdkBuilder<ListDistributedGrantsResponse.Builder,
,ListDistributedGrantsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDistributedGrantsResponse
@Mutable
@NotThreadSafe
public static interface ListDistributedGrantsResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListDistributedGrantsResponse.Builder,ListDistributedGrantsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongrants
(Collection<Grant> grants) Distributed grant details.grants
(Consumer<Grant.Builder>... grants) Distributed grant details.Distributed grant details.Token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
grants
Distributed grant details.
- Parameters:
grants
- Distributed grant details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
Distributed grant details.
- Parameters:
grants
- Distributed grant details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
Distributed grant details.
This is a convenience method that creates an instance of theGrant.Builder
avoiding the need to create one manually viaGrant.builder()
.When the
Consumer
completes,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.
-