Interface CreateUsageProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateUsageProfileRequest.Builder,CreateUsageProfileRequest>,GlueRequest.Builder,SdkBuilder<CreateUsageProfileRequest.Builder,CreateUsageProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateUsageProfileRequest
public static interface CreateUsageProfileRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<CreateUsageProfileRequest.Builder,CreateUsageProfileRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateUsageProfileRequest.Builderconfiguration(Consumer<ProfileConfiguration.Builder> configuration)AProfileConfigurationobject specifying the job and session values for the profile.CreateUsageProfileRequest.Builderconfiguration(ProfileConfiguration configuration)AProfileConfigurationobject specifying the job and session values for the profile.CreateUsageProfileRequest.Builderdescription(String description)A description of the usage profile.CreateUsageProfileRequest.Buildername(String name)The name of the usage profile.CreateUsageProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateUsageProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateUsageProfileRequest.Buildertags(Map<String,String> tags)A list of tags applied to the usage profile.-
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 Detail
-
name
CreateUsageProfileRequest.Builder name(String 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
CreateUsageProfileRequest.Builder description(String 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
CreateUsageProfileRequest.Builder configuration(ProfileConfiguration configuration)
A
ProfileConfigurationobject specifying the job and session values for the profile.- Parameters:
configuration- AProfileConfigurationobject 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 CreateUsageProfileRequest.Builder configuration(Consumer<ProfileConfiguration.Builder> configuration)
A
This is a convenience method that creates an instance of theProfileConfigurationobject specifying the job and session values for the profile.ProfileConfiguration.Builderavoiding the need to create one manually viaProfileConfiguration.builder().When the
Consumercompletes,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:
configuration(ProfileConfiguration)
-
tags
CreateUsageProfileRequest.Builder tags(Map<String,String> tags)
A list of tags applied to the usage profile.
- Parameters:
tags- A list of tags applied to the usage profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateUsageProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUsageProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-