Interface ListReceivedLicensesForOrganizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReceivedLicensesForOrganizationResponse.Builder,ListReceivedLicensesForOrganizationResponse>,LicenseManagerResponse.Builder,SdkBuilder<ListReceivedLicensesForOrganizationResponse.Builder,ListReceivedLicensesForOrganizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListReceivedLicensesForOrganizationResponse
public static interface ListReceivedLicensesForOrganizationResponse.Builder extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListReceivedLicensesForOrganizationResponse.Builder,ListReceivedLicensesForOrganizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListReceivedLicensesForOrganizationResponse.Builderlicenses(Collection<GrantedLicense> licenses)Lists the licenses the organization has received.ListReceivedLicensesForOrganizationResponse.Builderlicenses(Consumer<GrantedLicense.Builder>... licenses)Lists the licenses the organization has received.ListReceivedLicensesForOrganizationResponse.Builderlicenses(GrantedLicense... licenses)Lists the licenses the organization has received.ListReceivedLicensesForOrganizationResponse.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
-
licenses
ListReceivedLicensesForOrganizationResponse.Builder licenses(Collection<GrantedLicense> licenses)
Lists the licenses the organization has received.
- Parameters:
licenses- Lists the licenses the organization has received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
ListReceivedLicensesForOrganizationResponse.Builder licenses(GrantedLicense... licenses)
Lists the licenses the organization has received.
- Parameters:
licenses- Lists the licenses the organization has received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
ListReceivedLicensesForOrganizationResponse.Builder licenses(Consumer<GrantedLicense.Builder>... licenses)
Lists the licenses the organization has received.
This is a convenience method that creates an instance of theGrantedLicense.Builderavoiding the need to create one manually viaGrantedLicense.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#licenses(List.) - Parameters:
licenses- a consumer that will call methods onGrantedLicense.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#licenses(java.util.Collection)
-
nextToken
ListReceivedLicensesForOrganizationResponse.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.
-
-