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
-
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 Detail
-
resourceArn
UpdateLicenseSpecificationsForResourceRequest.Builder resourceArn(String 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.Builderavoiding the need to create one manually viaLicenseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addLicenseSpecifications(List.) - 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:
#addLicenseSpecifications(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaLicenseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#removeLicenseSpecifications(List.) - 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:
#removeLicenseSpecifications(java.util.Collection)
-
overrideConfiguration
UpdateLicenseSpecificationsForResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateLicenseSpecificationsForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-