Interface CreateNetworkSettingsRequest.Builder

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

public static interface CreateNetworkSettingsRequest.Builder extends WorkSpacesWebRequest.Builder, SdkPojo, CopyableBuilder<CreateNetworkSettingsRequest.Builder,CreateNetworkSettingsRequest>
  • Method Details

    • clientToken

      CreateNetworkSettingsRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

      If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

      If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      CreateNetworkSettingsRequest.Builder securityGroupIds(Collection<String> securityGroupIds)

      One or more security groups used to control access from streaming instances to your VPC.

      Parameters:
      securityGroupIds - One or more security groups used to control access from streaming instances to your VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      CreateNetworkSettingsRequest.Builder securityGroupIds(String... securityGroupIds)

      One or more security groups used to control access from streaming instances to your VPC.

      Parameters:
      securityGroupIds - One or more security groups used to control access from streaming instances to your VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

      Parameters:
      subnetIds - The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnetIds

      The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.

      Parameters:
      subnetIds - The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to add to the network settings resource. A tag is a key-value pair.

      Parameters:
      tags - The tags to add to the network settings resource. A tag is a key-value pair.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to add to the network settings resource. A tag is a key-value pair.

      Parameters:
      tags - The tags to add to the network settings resource. A tag is a key-value pair.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to add to the network settings resource. A tag is a key-value pair.

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

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

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

      The VPC that streaming instances will connect to.

      Parameters:
      vpcId - The VPC that streaming instances will connect to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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