Interface UpdateAppBlockBuilderRequest.Builder
- All Superinterfaces:
AppStreamRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAppBlockBuilderRequest.Builder,
,UpdateAppBlockBuilderRequest> SdkBuilder<UpdateAppBlockBuilderRequest.Builder,
,UpdateAppBlockBuilderRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAppBlockBuilderRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessEndpoints
(Collection<AccessEndpoint> accessEndpoints) The list of interface VPC endpoint (interface endpoint) objects.accessEndpoints
(Consumer<AccessEndpoint.Builder>... accessEndpoints) The list of interface VPC endpoint (interface endpoint) objects.accessEndpoints
(AccessEndpoint... accessEndpoints) The list of interface VPC endpoint (interface endpoint) objects.attributesToDelete
(Collection<AppBlockBuilderAttribute> attributesToDelete) The attributes to delete from the app block builder.attributesToDelete
(AppBlockBuilderAttribute... attributesToDelete) The attributes to delete from the app block builder.attributesToDeleteWithStrings
(String... attributesToDelete) The attributes to delete from the app block builder.attributesToDeleteWithStrings
(Collection<String> attributesToDelete) The attributes to delete from the app block builder.description
(String description) The description of the app block builder.displayName
(String displayName) The display name of the app block builder.enableDefaultInternetAccess
(Boolean enableDefaultInternetAccess) Enables or disables default internet access for the app block builder.iamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role to apply to the app block builder.instanceType
(String instanceType) The instance type to use when launching the app block builder.The unique name for the app block builder.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The platform of the app block builder.platform
(PlatformType platform) The platform of the app block builder.vpcConfig
(Consumer<VpcConfig.Builder> vpcConfig) The VPC configuration for the app block builder.The VPC configuration for the app block builder.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamRequest.Builder
build
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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The unique name for the app block builder.
- Parameters:
name
- The unique name for the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the app block builder.
- Parameters:
description
- The description of the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the app block builder.
- Parameters:
displayName
- The display name of the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platform
The platform of the app block builder.
WINDOWS_SERVER_2019
is the only valid value.- Parameters:
platform
- The platform of the app block builder.WINDOWS_SERVER_2019
is the only valid value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platform
The platform of the app block builder.
WINDOWS_SERVER_2019
is the only valid value.- Parameters:
platform
- The platform of the app block builder.WINDOWS_SERVER_2019
is the only valid value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type to use when launching the app block builder. The following instance types are available:
-
stream.standard.small
-
stream.standard.medium
-
stream.standard.large
-
stream.standard.xlarge
-
stream.standard.2xlarge
- Parameters:
instanceType
- The instance type to use when launching the app block builder. The following instance types are available:-
stream.standard.small
-
stream.standard.medium
-
stream.standard.large
-
stream.standard.xlarge
-
stream.standard.2xlarge
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
vpcConfig
The VPC configuration for the app block builder.
App block builders require that you specify at least two subnets in different availability zones.
- Parameters:
vpcConfig
- The VPC configuration for the app block builder.App block builders require that you specify at least two subnets in different availability zones.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration for the app block builder.
App block builders require that you specify at least two subnets in different availability zones.
This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableDefaultInternetAccess
UpdateAppBlockBuilderRequest.Builder enableDefaultInternetAccess(Boolean enableDefaultInternetAccess) Enables or disables default internet access for the app block builder.
- Parameters:
enableDefaultInternetAccess
- Enables or disables default internet access for the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
The Amazon Resource Name (ARN) of the IAM role to apply to the app block builder. To assume a role, the app block builder calls the AWS Security Token Service (STS)
AssumeRole
API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role to apply to the app block builder. To assume a role, the app block builder calls the AWS Security Token Service (STS)AssumeRole
API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessEndpoints
The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.
- Parameters:
accessEndpoints
- The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessEndpoints
The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.
- Parameters:
accessEndpoints
- The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessEndpoints
UpdateAppBlockBuilderRequest.Builder accessEndpoints(Consumer<AccessEndpoint.Builder>... accessEndpoints) The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.
This is a convenience method that creates an instance of theAccessEndpoint.Builder
avoiding the need to create one manually viaAccessEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessEndpoints(List<AccessEndpoint>)
.- Parameters:
accessEndpoints
- a consumer that will call methods onAccessEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributesToDeleteWithStrings
UpdateAppBlockBuilderRequest.Builder attributesToDeleteWithStrings(Collection<String> attributesToDelete) The attributes to delete from the app block builder.
- Parameters:
attributesToDelete
- The attributes to delete from the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesToDeleteWithStrings
The attributes to delete from the app block builder.
- Parameters:
attributesToDelete
- The attributes to delete from the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesToDelete
UpdateAppBlockBuilderRequest.Builder attributesToDelete(Collection<AppBlockBuilderAttribute> attributesToDelete) The attributes to delete from the app block builder.
- Parameters:
attributesToDelete
- The attributes to delete from the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributesToDelete
UpdateAppBlockBuilderRequest.Builder attributesToDelete(AppBlockBuilderAttribute... attributesToDelete) The attributes to delete from the app block builder.
- Parameters:
attributesToDelete
- The attributes to delete from the app block builder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAppBlockBuilderRequest.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
UpdateAppBlockBuilderRequest.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.
-