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.BuilderpostSetupScriptDetails(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.BuildersetupScriptDetails(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.BuildersourceS3Location(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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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
CUSTOMPackagingType.- Parameters:
setupScriptDetails- The setup script details of the app block. This must be provided for theCUSTOMPackagingType.- 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 theCUSTOMPackagingType.ScriptDetails.Builderavoiding the need to create one manually viaScriptDetails.builder().When the
Consumercompletes,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
APPSTREAM2PackagingType.- Parameters:
postSetupScriptDetails- The post setup script details of the app block. This can only be provided for theAPPSTREAM2PackagingType.- 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 theAPPSTREAM2PackagingType.ScriptDetails.Builderavoiding the need to create one manually viaScriptDetails.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-