Interface DescribeAppLicenseUsageResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeAppLicenseUsageResponse.Builder,,DescribeAppLicenseUsageResponse> SdkBuilder<DescribeAppLicenseUsageResponse.Builder,,DescribeAppLicenseUsageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAppLicenseUsageResponse
@Mutable
@NotThreadSafe
public static interface DescribeAppLicenseUsageResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeAppLicenseUsageResponse.Builder,DescribeAppLicenseUsageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionappLicenseUsages(Collection<AdminAppLicenseUsageRecord> appLicenseUsages) Collection of license usage records.appLicenseUsages(Consumer<AdminAppLicenseUsageRecord.Builder>... appLicenseUsages) Collection of license usage records.appLicenseUsages(AdminAppLicenseUsageRecord... appLicenseUsages) Collection of license usage records.Token for pagination of results.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
appLicenseUsages
DescribeAppLicenseUsageResponse.Builder appLicenseUsages(Collection<AdminAppLicenseUsageRecord> appLicenseUsages) Collection of license usage records.
- Parameters:
appLicenseUsages- Collection of license usage records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appLicenseUsages
DescribeAppLicenseUsageResponse.Builder appLicenseUsages(AdminAppLicenseUsageRecord... appLicenseUsages) Collection of license usage records.
- Parameters:
appLicenseUsages- Collection of license usage records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appLicenseUsages
DescribeAppLicenseUsageResponse.Builder appLicenseUsages(Consumer<AdminAppLicenseUsageRecord.Builder>... appLicenseUsages) Collection of license usage records.
This is a convenience method that creates an instance of theAdminAppLicenseUsageRecord.Builderavoiding the need to create one manually viaAdminAppLicenseUsageRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toappLicenseUsages(List<AdminAppLicenseUsageRecord>).- Parameters:
appLicenseUsages- a consumer that will call methods onAdminAppLicenseUsageRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for pagination of results.
- Parameters:
nextToken- Token for pagination of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-