Interface CreateAppBlockRequest.Builder
- All Superinterfaces:
AppStreamRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAppBlockRequest.Builder,
,CreateAppBlockRequest> SdkBuilder<CreateAppBlockRequest.Builder,
,CreateAppBlockRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAppBlockRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the app block.displayName
(String displayName) The display name of the app block.The name of the app block.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.packagingType
(String packagingType) The packaging type of the app block.packagingType
(PackagingType packagingType) The packaging type of the app block.default CreateAppBlockRequest.Builder
postSetupScriptDetails
(Consumer<ScriptDetails.Builder> postSetupScriptDetails) The post setup script details of the app block.postSetupScriptDetails
(ScriptDetails postSetupScriptDetails) The post setup script details of the app block.default CreateAppBlockRequest.Builder
setupScriptDetails
(Consumer<ScriptDetails.Builder> setupScriptDetails) The setup script details of the app block.setupScriptDetails
(ScriptDetails setupScriptDetails) The setup script details of the app block.default CreateAppBlockRequest.Builder
sourceS3Location
(Consumer<S3Location.Builder> sourceS3Location) The source S3 location of the app block.sourceS3Location
(S3Location sourceS3Location) The source S3 location of the app block.The tags assigned to the app block.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
-
Method Details
-
name
The name of the app block.
- Parameters:
name
- The name of the app block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the app block.
- Parameters:
description
- The description of the app block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the app block. This is not displayed to the user.
- Parameters:
displayName
- The display name of the app block. This is not displayed to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Location
The source S3 location of the app block.
- Parameters:
sourceS3Location
- The source S3 location of the app block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceS3Location
default CreateAppBlockRequest.Builder sourceS3Location(Consumer<S3Location.Builder> sourceS3Location) The source S3 location of the app block.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceS3Location(S3Location)
.- Parameters:
sourceS3Location
- 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:
-
setupScriptDetails
The setup script details of the app block. This must be provided for the
CUSTOM
PackagingType.- Parameters:
setupScriptDetails
- The setup script details of the app block. This must be provided for theCUSTOM
PackagingType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setupScriptDetails
default CreateAppBlockRequest.Builder setupScriptDetails(Consumer<ScriptDetails.Builder> setupScriptDetails) The setup script details of the app block. This must be provided for the
This is a convenience method that creates an instance of theCUSTOM
PackagingType.ScriptDetails.Builder
avoiding the need to create one manually viaScriptDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosetupScriptDetails(ScriptDetails)
.- Parameters:
setupScriptDetails
- a consumer that will call methods onScriptDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to the app block.
- Parameters:
tags
- The tags assigned to the app block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postSetupScriptDetails
The post setup script details of the app block. This can only be provided for the
APPSTREAM2
PackagingType.- Parameters:
postSetupScriptDetails
- The post setup script details of the app block. This can only be provided for theAPPSTREAM2
PackagingType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postSetupScriptDetails
default CreateAppBlockRequest.Builder postSetupScriptDetails(Consumer<ScriptDetails.Builder> postSetupScriptDetails) The post setup script details of the app block. This can only be provided for the
This is a convenience method that creates an instance of theAPPSTREAM2
PackagingType.ScriptDetails.Builder
avoiding the need to create one manually viaScriptDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topostSetupScriptDetails(ScriptDetails)
.- Parameters:
postSetupScriptDetails
- a consumer that will call methods onScriptDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packagingType
The packaging type of the app block.
- Parameters:
packagingType
- The packaging type of the app block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packagingType
The packaging type of the app block.
- Parameters:
packagingType
- The packaging type of the app block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateAppBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAppBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-