Interface CreateAppBlockRequest.Builder
-
- All Superinterfaces:
AppStreamRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppBlockRequest.Builder,CreateAppBlockRequest>,SdkBuilder<CreateAppBlockRequest.Builder,CreateAppBlockRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAppBlockRequest
public static interface CreateAppBlockRequest.Builder extends AppStreamRequest.Builder, SdkPojo, CopyableBuilder<CreateAppBlockRequest.Builder,CreateAppBlockRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateAppBlockRequest.Builder name(String 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
CreateAppBlockRequest.Builder description(String 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
CreateAppBlockRequest.Builder displayName(String 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
CreateAppBlockRequest.Builder sourceS3Location(S3Location 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:
sourceS3Location(S3Location)
-
setupScriptDetails
CreateAppBlockRequest.Builder setupScriptDetails(ScriptDetails 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:
setupScriptDetails(ScriptDetails)
-
tags
CreateAppBlockRequest.Builder tags(Map<String,String> 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
CreateAppBlockRequest.Builder postSetupScriptDetails(ScriptDetails 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:
postSetupScriptDetails(ScriptDetails)
-
packagingType
CreateAppBlockRequest.Builder packagingType(String 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,PackagingType
-
packagingType
CreateAppBlockRequest.Builder packagingType(PackagingType 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,PackagingType
-
overrideConfiguration
CreateAppBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAppBlockRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-