Interface CreateLicenseAssetRulesetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLicenseAssetRulesetRequest.Builder,,CreateLicenseAssetRulesetRequest> LicenseManagerRequest.Builder,SdkBuilder<CreateLicenseAssetRulesetRequest.Builder,,CreateLicenseAssetRulesetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateLicenseAssetRulesetRequest
@Mutable
@NotThreadSafe
public static interface CreateLicenseAssetRulesetRequest.Builder
extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateLicenseAssetRulesetRequest.Builder,CreateLicenseAssetRulesetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) License asset ruleset description.License asset ruleset name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rules(Collection<LicenseAssetRule> rules) License asset rules.rules(Consumer<LicenseAssetRule.Builder>... rules) License asset rules.rules(LicenseAssetRule... rules) License asset rules.tags(Collection<Tag> tags) Tags to add to the license asset ruleset.tags(Consumer<Tag.Builder>... tags) Tags to add to the license asset ruleset.Tags to add to the license asset ruleset.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
License asset ruleset name.
- Parameters:
name- License asset ruleset name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
License asset ruleset description.
- Parameters:
description- License asset ruleset description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
License asset rules.
- Parameters:
rules- License asset rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
License asset rules.
- Parameters:
rules- License asset rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
License asset rules.
This is a convenience method that creates an instance of theLicenseAssetRule.Builderavoiding the need to create one manually viaLicenseAssetRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<LicenseAssetRule>).- Parameters:
rules- a consumer that will call methods onLicenseAssetRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags to add to the license asset ruleset.
- Parameters:
tags- Tags to add to the license asset ruleset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to add to the license asset ruleset.
- Parameters:
tags- Tags to add to the license asset ruleset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to add to the license asset ruleset.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLicenseAssetRulesetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLicenseAssetRulesetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-