Interface UpdateUsageProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateUsageProfileRequest.Builder,
,UpdateUsageProfileRequest> GlueRequest.Builder
,SdkBuilder<UpdateUsageProfileRequest.Builder,
,UpdateUsageProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateUsageProfileRequest
public static interface UpdateUsageProfileRequest.Builder
extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateUsageProfileRequest.Builder,UpdateUsageProfileRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<ProfileConfiguration.Builder> configuration) AProfileConfiguration
object specifying the job and session values for the profile.configuration
(ProfileConfiguration configuration) AProfileConfiguration
object specifying the job and session values for the profile.description
(String description) A description of the usage profile.The name of the usage profile.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the usage profile.
- Parameters:
name
- The name of the usage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the usage profile.
- Parameters:
description
- A description of the usage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
A
ProfileConfiguration
object specifying the job and session values for the profile.- Parameters:
configuration
- AProfileConfiguration
object specifying the job and session values for the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateUsageProfileRequest.Builder configuration(Consumer<ProfileConfiguration.Builder> configuration) A
This is a convenience method that creates an instance of theProfileConfiguration
object specifying the job and session values for the profile.ProfileConfiguration.Builder
avoiding the need to create one manually viaProfileConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ProfileConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onProfileConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateUsageProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateUsageProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-