Interface UpdateLicenseSpecificationsForResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLicenseSpecificationsForResourceRequest.Builder,
,UpdateLicenseSpecificationsForResourceRequest> LicenseManagerRequest.Builder
,SdkBuilder<UpdateLicenseSpecificationsForResourceRequest.Builder,
,UpdateLicenseSpecificationsForResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLicenseSpecificationsForResourceRequest
public static interface UpdateLicenseSpecificationsForResourceRequest.Builder
extends LicenseManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateLicenseSpecificationsForResourceRequest.Builder,UpdateLicenseSpecificationsForResourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaddLicenseSpecifications
(Collection<LicenseSpecification> addLicenseSpecifications) ARNs of the license configurations to add.addLicenseSpecifications
(Consumer<LicenseSpecification.Builder>... addLicenseSpecifications) ARNs of the license configurations to add.addLicenseSpecifications
(LicenseSpecification... addLicenseSpecifications) ARNs of the license configurations to add.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeLicenseSpecifications
(Collection<LicenseSpecification> removeLicenseSpecifications) ARNs of the license configurations to remove.removeLicenseSpecifications
(Consumer<LicenseSpecification.Builder>... removeLicenseSpecifications) ARNs of the license configurations to remove.removeLicenseSpecifications
(LicenseSpecification... removeLicenseSpecifications) ARNs of the license configurations to remove.resourceArn
(String resourceArn) Amazon Resource Name (ARN) of the Amazon Web Services resource.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.licensemanager.model.LicenseManagerRequest.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
-
resourceArn
Amazon Resource Name (ARN) of the Amazon Web Services resource.
- Parameters:
resourceArn
- Amazon Resource Name (ARN) of the Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addLicenseSpecifications
UpdateLicenseSpecificationsForResourceRequest.Builder addLicenseSpecifications(Collection<LicenseSpecification> addLicenseSpecifications) ARNs of the license configurations to add.
- Parameters:
addLicenseSpecifications
- ARNs of the license configurations to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addLicenseSpecifications
UpdateLicenseSpecificationsForResourceRequest.Builder addLicenseSpecifications(LicenseSpecification... addLicenseSpecifications) ARNs of the license configurations to add.
- Parameters:
addLicenseSpecifications
- ARNs of the license configurations to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addLicenseSpecifications
UpdateLicenseSpecificationsForResourceRequest.Builder addLicenseSpecifications(Consumer<LicenseSpecification.Builder>... addLicenseSpecifications) ARNs of the license configurations to add.
This is a convenience method that creates an instance of theLicenseSpecification.Builder
avoiding the need to create one manually viaLicenseSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaddLicenseSpecifications(List<LicenseSpecification>)
.- Parameters:
addLicenseSpecifications
- a consumer that will call methods onLicenseSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeLicenseSpecifications
UpdateLicenseSpecificationsForResourceRequest.Builder removeLicenseSpecifications(Collection<LicenseSpecification> removeLicenseSpecifications) ARNs of the license configurations to remove.
- Parameters:
removeLicenseSpecifications
- ARNs of the license configurations to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeLicenseSpecifications
UpdateLicenseSpecificationsForResourceRequest.Builder removeLicenseSpecifications(LicenseSpecification... removeLicenseSpecifications) ARNs of the license configurations to remove.
- Parameters:
removeLicenseSpecifications
- ARNs of the license configurations to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeLicenseSpecifications
UpdateLicenseSpecificationsForResourceRequest.Builder removeLicenseSpecifications(Consumer<LicenseSpecification.Builder>... removeLicenseSpecifications) ARNs of the license configurations to remove.
This is a convenience method that creates an instance of theLicenseSpecification.Builder
avoiding the need to create one manually viaLicenseSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoveLicenseSpecifications(List<LicenseSpecification>)
.- Parameters:
removeLicenseSpecifications
- a consumer that will call methods onLicenseSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLicenseSpecificationsForResourceRequest.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
UpdateLicenseSpecificationsForResourceRequest.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.
-