Interface ListReceivedGrantsForOrganizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReceivedGrantsForOrganizationResponse.Builder,ListReceivedGrantsForOrganizationResponse>,LicenseManagerResponse.Builder,SdkBuilder<ListReceivedGrantsForOrganizationResponse.Builder,ListReceivedGrantsForOrganizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListReceivedGrantsForOrganizationResponse
public static interface ListReceivedGrantsForOrganizationResponse.Builder extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListReceivedGrantsForOrganizationResponse.Builder,ListReceivedGrantsForOrganizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListReceivedGrantsForOrganizationResponse.Buildergrants(Collection<Grant> grants)Lists the grants the organization has received.ListReceivedGrantsForOrganizationResponse.Buildergrants(Consumer<Grant.Builder>... grants)Lists the grants the organization has received.ListReceivedGrantsForOrganizationResponse.Buildergrants(Grant... grants)Lists the grants the organization has received.ListReceivedGrantsForOrganizationResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
grants
ListReceivedGrantsForOrganizationResponse.Builder grants(Collection<Grant> grants)
Lists the grants the organization has received.
- Parameters:
grants- Lists the grants the organization has received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
ListReceivedGrantsForOrganizationResponse.Builder grants(Grant... grants)
Lists the grants the organization has received.
- Parameters:
grants- Lists the grants the organization has received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
ListReceivedGrantsForOrganizationResponse.Builder grants(Consumer<Grant.Builder>... grants)
Lists the grants the organization has received.
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 to#grants(List.) - 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:
#grants(java.util.Collection)
-
nextToken
ListReceivedGrantsForOrganizationResponse.Builder nextToken(String 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.
-
-