Interface CreateApplicationRequest.Builder

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

public static interface CreateApplicationRequest.Builder extends AppStreamRequest.Builder, SdkPojo, CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
  • Method Details

    • name

      The name of the application. This name is visible to users when display name is not specified.

      Parameters:
      name - The name of the application. This name is visible to users when display name is not specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      CreateApplicationRequest.Builder displayName(String displayName)

      The display name of the application. This name is visible to users in the application catalog.

      Parameters:
      displayName - The display name of the application. This name is visible to users in the application catalog.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateApplicationRequest.Builder description(String description)

      The description of the application.

      Parameters:
      description - The description of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iconS3Location

      CreateApplicationRequest.Builder iconS3Location(S3Location iconS3Location)

      The location in S3 of the application icon.

      Parameters:
      iconS3Location - The location in S3 of the application icon.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iconS3Location

      default CreateApplicationRequest.Builder iconS3Location(Consumer<S3Location.Builder> iconS3Location)

      The location in S3 of the application icon.

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

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

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

      CreateApplicationRequest.Builder launchPath(String launchPath)

      The launch path of the application.

      Parameters:
      launchPath - The launch path of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workingDirectory

      CreateApplicationRequest.Builder workingDirectory(String workingDirectory)

      The working directory of the application.

      Parameters:
      workingDirectory - The working directory of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchParameters

      CreateApplicationRequest.Builder launchParameters(String launchParameters)

      The launch parameters of the application.

      Parameters:
      launchParameters - The launch parameters of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platformsWithStrings

      CreateApplicationRequest.Builder platformsWithStrings(Collection<String> platforms)

      The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.

      Parameters:
      platforms - The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platformsWithStrings

      CreateApplicationRequest.Builder platformsWithStrings(String... platforms)

      The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.

      Parameters:
      platforms - The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platforms

      The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.

      Parameters:
      platforms - The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platforms

      The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.

      Parameters:
      platforms - The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceFamilies

      CreateApplicationRequest.Builder instanceFamilies(Collection<String> instanceFamilies)

      The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.

      Parameters:
      instanceFamilies - The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceFamilies

      CreateApplicationRequest.Builder instanceFamilies(String... instanceFamilies)

      The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.

      Parameters:
      instanceFamilies - The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appBlockArn

      CreateApplicationRequest.Builder appBlockArn(String appBlockArn)

      The app block ARN to which the application should be associated

      Parameters:
      appBlockArn - The app block ARN to which the application should be associated
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags assigned to the application.

      Parameters:
      tags - The tags assigned to the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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