Interface CreateAppBlockBuilderRequest.Builder

All Superinterfaces:
AppStreamRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<CreateAppBlockBuilderRequest.Builder,CreateAppBlockBuilderRequest>, SdkBuilder<CreateAppBlockBuilderRequest.Builder,CreateAppBlockBuilderRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateAppBlockBuilderRequest

public static interface CreateAppBlockBuilderRequest.Builder extends AppStreamRequest.Builder, SdkPojo, CopyableBuilder<CreateAppBlockBuilderRequest.Builder,CreateAppBlockBuilderRequest>
  • 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

      CreateAppBlockBuilderRequest.Builder description(String 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

      CreateAppBlockBuilderRequest.Builder displayName(String 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.
    • tags

      The tags to associate with the app block builder. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.

      If you do not specify a value, the value is set to an empty string.

      Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:

      _ . : / = + \ - @

      For more information, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.

      Parameters:
      tags - The tags to associate with the app block builder. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.

      If you do not specify a value, the value is set to an empty string.

      Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:

      _ . : / = + \ - @

      For more information, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.

      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

      CreateAppBlockBuilderRequest.Builder instanceType(String 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 the VpcConfig.Builder avoiding the need to create one manually via VpcConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcConfig(VpcConfig).

      Parameters:
      vpcConfig - a consumer that will call methods on VpcConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enableDefaultInternetAccess

      CreateAppBlockBuilderRequest.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

      CreateAppBlockBuilderRequest.Builder accessEndpoints(AccessEndpoint... 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.

      This is a convenience method that creates an instance of the AccessEndpoint.Builder avoiding the need to create one manually via AccessEndpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accessEndpoints(List<AccessEndpoint>).

      Parameters:
      accessEndpoints - a consumer that will call methods on AccessEndpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateAppBlockBuilderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.