Interface UpdateEntitlementRequest.Builder
- All Superinterfaces:
AppStreamRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEntitlementRequest.Builder,,UpdateEntitlementRequest> SdkBuilder<UpdateEntitlementRequest.Builder,,UpdateEntitlementRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEntitlementRequest
public static interface UpdateEntitlementRequest.Builder
extends AppStreamRequest.Builder, SdkPojo, CopyableBuilder<UpdateEntitlementRequest.Builder,UpdateEntitlementRequest>
-
Method Summary
Modifier and TypeMethodDescriptionappVisibility(String appVisibility) Specifies whether all or only selected apps are entitled.appVisibility(AppVisibility appVisibility) Specifies whether all or only selected apps are entitled.attributes(Collection<EntitlementAttribute> attributes) The attributes of the entitlement.attributes(Consumer<EntitlementAttribute.Builder>... attributes) The attributes of the entitlement.attributes(EntitlementAttribute... attributes) The attributes of the entitlement.description(String description) The description of the entitlement.The name of the entitlement.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the stack with which the entitlement is associated.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamRequest.Builder
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the entitlement.
- Parameters:
name- The name of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackName
The name of the stack with which the entitlement is associated.
- Parameters:
stackName- The name of the stack with which the entitlement is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the entitlement.
- Parameters:
description- The description of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appVisibility
Specifies whether all or only selected apps are entitled.
- Parameters:
appVisibility- Specifies whether all or only selected apps are entitled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appVisibility
Specifies whether all or only selected apps are entitled.
- Parameters:
appVisibility- Specifies whether all or only selected apps are entitled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
The attributes of the entitlement.
- Parameters:
attributes- The attributes of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes of the entitlement.
- Parameters:
attributes- The attributes of the entitlement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes of the entitlement.
This is a convenience method that creates an instance of theEntitlementAttribute.Builderavoiding the need to create one manually viaEntitlementAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<EntitlementAttribute>).- Parameters:
attributes- a consumer that will call methods onEntitlementAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEntitlementRequest.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
UpdateEntitlementRequest.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.
-