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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsageProfilesResponse.BuildernextToken(String nextToken)A continuation token, present if the current list segment is not the last.ListUsageProfilesResponse.Builderprofiles(Collection<UsageProfileDefinition> profiles)A list of usage profile (UsageProfileDefinition) objects.ListUsageProfilesResponse.Builderprofiles(Consumer<UsageProfileDefinition.Builder>... profiles)A list of usage profile (UsageProfileDefinition) objects.ListUsageProfilesResponse.Builderprofiles(UsageProfileDefinition... profiles)A list of usage profile (UsageProfileDefinition) objects.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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 Detail
-
profiles
ListUsageProfilesResponse.Builder profiles(Collection<UsageProfileDefinition> 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
ListUsageProfilesResponse.Builder profiles(UsageProfileDefinition... 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
ListUsageProfilesResponse.Builder profiles(Consumer<UsageProfileDefinition.Builder>... 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 to#profiles(List.) - 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:
#profiles(java.util.Collection)
-
nextToken
ListUsageProfilesResponse.Builder nextToken(String 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.
-
-