Interface GetLicenseAssetRulesetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLicenseAssetRulesetResponse.Builder,,GetLicenseAssetRulesetResponse> LicenseManagerResponse.Builder,SdkBuilder<GetLicenseAssetRulesetResponse.Builder,,GetLicenseAssetRulesetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetLicenseAssetRulesetResponse
@Mutable
@NotThreadSafe
public static interface GetLicenseAssetRulesetResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<GetLicenseAssetRulesetResponse.Builder,GetLicenseAssetRulesetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlicenseAssetRuleset(Consumer<LicenseAssetRuleset.Builder> licenseAssetRuleset) License asset ruleset.licenseAssetRuleset(LicenseAssetRuleset licenseAssetRuleset) License asset ruleset.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
licenseAssetRuleset
License asset ruleset.
- Parameters:
licenseAssetRuleset- License asset ruleset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseAssetRuleset
default GetLicenseAssetRulesetResponse.Builder licenseAssetRuleset(Consumer<LicenseAssetRuleset.Builder> licenseAssetRuleset) License asset ruleset.
This is a convenience method that creates an instance of theLicenseAssetRuleset.Builderavoiding the need to create one manually viaLicenseAssetRuleset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolicenseAssetRuleset(LicenseAssetRuleset).- Parameters:
licenseAssetRuleset- a consumer that will call methods onLicenseAssetRuleset.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-