Interface ListUsageProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUsageProfilesResponse.Builder,,ListUsageProfilesResponse> GlueResponse.Builder,SdkBuilder<ListUsageProfilesResponse.Builder,,ListUsageProfilesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListUsageProfilesResponse
public static interface ListUsageProfilesResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<ListUsageProfilesResponse.Builder,ListUsageProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token, present if the current list segment is not the last.profiles(Collection<UsageProfileDefinition> profiles) A list of usage profile (UsageProfileDefinition) objects.profiles(Consumer<UsageProfileDefinition.Builder>... profiles) A list of usage profile (UsageProfileDefinition) objects.profiles(UsageProfileDefinition... profiles) A list of usage profile (UsageProfileDefinition) objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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
-
profiles
A list of usage profile (
UsageProfileDefinition) objects.- Parameters:
profiles- A list of usage profile (UsageProfileDefinition) objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
A list of usage profile (
UsageProfileDefinition) objects.- Parameters:
profiles- A list of usage profile (UsageProfileDefinition) objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
A list of usage profile (
This is a convenience method that creates an instance of theUsageProfileDefinition) objects.UsageProfileDefinition.Builderavoiding the need to create one manually viaUsageProfileDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofiles(List<UsageProfileDefinition>).- Parameters:
profiles- a consumer that will call methods onUsageProfileDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token, present if the current list segment is not the last.
- Parameters:
nextToken- A continuation token, present if the current list segment is not the last.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-