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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Application.BuilderappBlockArn(String appBlockArn)The app block ARN of the application.Application.Builderarn(String arn)The ARN of the application.Application.BuildercreatedTime(Instant createdTime)The time at which the application was created within the app block.Application.Builderdescription(String description)The description of the application.Application.BuilderdisplayName(String displayName)The application name to display.Application.Builderenabled(Boolean enabled)If there is a problem, the application can be disabled after image creation.default Application.BuildericonS3Location(Consumer<S3Location.Builder> iconS3Location)The S3 location of the application icon.Application.BuildericonS3Location(S3Location iconS3Location)The S3 location of the application icon.Application.BuildericonURL(String iconURL)The URL for the application icon.Application.BuilderinstanceFamilies(String... instanceFamilies)The instance families for the application.Application.BuilderinstanceFamilies(Collection<String> instanceFamilies)The instance families for the application.Application.BuilderlaunchParameters(String launchParameters)The arguments that are passed to the application at launch.Application.BuilderlaunchPath(String launchPath)The path to the application executable in the instance.Application.Buildermetadata(Map<String,String> metadata)Additional attributes that describe the application.Application.Buildername(String name)The name of the application.Application.Builderplatforms(Collection<PlatformType> platforms)The platforms on which the application can run.Application.Builderplatforms(PlatformType... platforms)The platforms on which the application can run.Application.BuilderplatformsWithStrings(String... platforms)The platforms on which the application can run.Application.BuilderplatformsWithStrings(Collection<String> platforms)The platforms on which the application can run.Application.BuilderworkingDirectory(String workingDirectory)The working directory for the application.-
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 Detail
-
name
Application.Builder name(String 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
Application.Builder arn(String 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 theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiconS3Location(S3Location).- Parameters:
iconS3Location- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
iconS3Location(S3Location)
-
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
Application.Builder platforms(Collection<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.
-
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.
-
-