Interface Application.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Application.Builder,Application>, SdkBuilder<Application.Builder,Application>, SdkPojo
Enclosing class:
Application

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

    • name

      The name of the application.

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

      Application.Builder displayName(String displayName)

      The application name to display.

      Parameters:
      displayName - The application name to display.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iconURL

      Application.Builder iconURL(String iconURL)

      The URL for the application icon. This URL might be time-limited.

      Parameters:
      iconURL - The URL for the application icon. This URL might be time-limited.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchPath

      Application.Builder launchPath(String launchPath)

      The path to the application executable in the instance.

      Parameters:
      launchPath - The path to the application executable in the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • launchParameters

      Application.Builder launchParameters(String launchParameters)

      The arguments that are passed to the application at launch.

      Parameters:
      launchParameters - The arguments that are passed to the application at launch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      Application.Builder enabled(Boolean enabled)

      If there is a problem, the application can be disabled after image creation.

      Parameters:
      enabled - If there is a problem, the application can be disabled after image creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      Application.Builder metadata(Map<String,String> metadata)

      Additional attributes that describe the application.

      Parameters:
      metadata - Additional attributes that describe the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workingDirectory

      Application.Builder workingDirectory(String workingDirectory)

      The working directory for the application.

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

      Application.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.
    • arn

      The ARN of the application.

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

      Application.Builder appBlockArn(String appBlockArn)

      The app block ARN of the application.

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

      Application.Builder iconS3Location(S3Location iconS3Location)

      The S3 location of the application icon.

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

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

      The S3 location 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:
    • platformsWithStrings

      Application.Builder platformsWithStrings(Collection<String> platforms)

      The platforms on which the application can run.

      Parameters:
      platforms - The platforms on which the application can run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platformsWithStrings

      Application.Builder platformsWithStrings(String... platforms)

      The platforms on which the application can run.

      Parameters:
      platforms - The platforms on which the application can run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platforms

      The platforms on which the application can run.

      Parameters:
      platforms - The platforms on which the application can run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platforms

      Application.Builder platforms(PlatformType... platforms)

      The platforms on which the application can run.

      Parameters:
      platforms - The platforms on which the application can run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceFamilies

      Application.Builder instanceFamilies(Collection<String> instanceFamilies)

      The instance families for the application.

      Parameters:
      instanceFamilies - The instance families for the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceFamilies

      Application.Builder instanceFamilies(String... instanceFamilies)

      The instance families for the application.

      Parameters:
      instanceFamilies - The instance families for the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTime

      Application.Builder createdTime(Instant createdTime)

      The time at which the application was created within the app block.

      Parameters:
      createdTime - The time at which the application was created within the app block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.