public static interface AppBlock.Builder extends SdkPojo, CopyableBuilder<AppBlock.Builder,AppBlock>
| Modifier and Type | Method and Description |
|---|---|
AppBlock.Builder |
appBlockErrors(Collection<ErrorDetails> appBlockErrors)
The errors of the app block.
|
AppBlock.Builder |
appBlockErrors(Consumer<ErrorDetails.Builder>... appBlockErrors)
The errors of the app block.
|
AppBlock.Builder |
appBlockErrors(ErrorDetails... appBlockErrors)
The errors of the app block.
|
AppBlock.Builder |
arn(String arn)
The ARN of the app block.
|
AppBlock.Builder |
createdTime(Instant createdTime)
The created time of the app block.
|
AppBlock.Builder |
description(String description)
The description of the app block.
|
AppBlock.Builder |
displayName(String displayName)
The display name of the app block.
|
AppBlock.Builder |
name(String name)
The name of the app block.
|
AppBlock.Builder |
packagingType(PackagingType packagingType)
The packaging type of the app block.
|
AppBlock.Builder |
packagingType(String packagingType)
The packaging type of the app block.
|
default AppBlock.Builder |
postSetupScriptDetails(Consumer<ScriptDetails.Builder> postSetupScriptDetails)
The post setup script details of the app block.
|
AppBlock.Builder |
postSetupScriptDetails(ScriptDetails postSetupScriptDetails)
The post setup script details of the app block.
|
default AppBlock.Builder |
setupScriptDetails(Consumer<ScriptDetails.Builder> setupScriptDetails)
The setup script details of the app block.
|
AppBlock.Builder |
setupScriptDetails(ScriptDetails setupScriptDetails)
The setup script details of the app block.
|
default AppBlock.Builder |
sourceS3Location(Consumer<S3Location.Builder> sourceS3Location)
The source S3 location of the app block.
|
AppBlock.Builder |
sourceS3Location(S3Location sourceS3Location)
The source S3 location of the app block.
|
AppBlock.Builder |
state(AppBlockState state)
The state of the app block.
|
AppBlock.Builder |
state(String state)
The state of the app block.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAppBlock.Builder name(String name)
The name of the app block.
name - The name of the app block.AppBlock.Builder arn(String arn)
The ARN of the app block.
arn - The ARN of the app block.AppBlock.Builder description(String description)
The description of the app block.
description - The description of the app block.AppBlock.Builder displayName(String displayName)
The display name of the app block.
displayName - The display name of the app block.AppBlock.Builder sourceS3Location(S3Location sourceS3Location)
The source S3 location of the app block.
sourceS3Location - The source S3 location of the app block.default AppBlock.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 via S3Location.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to sourceS3Location(S3Location).
sourceS3Location - a consumer that will call methods on S3Location.BuildersourceS3Location(S3Location)AppBlock.Builder setupScriptDetails(ScriptDetails setupScriptDetails)
The setup script details of the app block.
This only applies to app blocks with PackagingType CUSTOM.
setupScriptDetails - The setup script details of the app block.
This only applies to app blocks with PackagingType CUSTOM.
default AppBlock.Builder setupScriptDetails(Consumer<ScriptDetails.Builder> setupScriptDetails)
The setup script details of the app block.
This only applies to app blocks with PackagingType CUSTOM.
ScriptDetails.Builder avoiding the need
to create one manually via ScriptDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to setupScriptDetails(ScriptDetails).
setupScriptDetails - a consumer that will call methods on ScriptDetails.BuildersetupScriptDetails(ScriptDetails)AppBlock.Builder createdTime(Instant createdTime)
The created time of the app block.
createdTime - The created time of the app block.AppBlock.Builder postSetupScriptDetails(ScriptDetails postSetupScriptDetails)
The post setup script details of the app block.
This only applies to app blocks with PackagingType APPSTREAM2.
postSetupScriptDetails - The post setup script details of the app block.
This only applies to app blocks with PackagingType APPSTREAM2.
default AppBlock.Builder postSetupScriptDetails(Consumer<ScriptDetails.Builder> postSetupScriptDetails)
The post setup script details of the app block.
This only applies to app blocks with PackagingType APPSTREAM2.
ScriptDetails.Builder avoiding the need
to create one manually via ScriptDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to postSetupScriptDetails(ScriptDetails).
postSetupScriptDetails - a consumer that will call methods on ScriptDetails.BuilderpostSetupScriptDetails(ScriptDetails)AppBlock.Builder packagingType(String packagingType)
The packaging type of the app block.
packagingType - The packaging type of the app block.PackagingType,
PackagingTypeAppBlock.Builder packagingType(PackagingType packagingType)
The packaging type of the app block.
packagingType - The packaging type of the app block.PackagingType,
PackagingTypeAppBlock.Builder state(String state)
The state of the app block.
An app block with AppStream 2.0 packaging will be in the INACTIVE state if no application
package (VHD) is assigned to it. After an application package (VHD) is created by an app block builder for an
app block, it becomes ACTIVE.
Custom app blocks are always in the ACTIVE state and no action is required to use them.
state - The state of the app block.
An app block with AppStream 2.0 packaging will be in the INACTIVE state if no application
package (VHD) is assigned to it. After an application package (VHD) is created by an app block builder
for an app block, it becomes ACTIVE.
Custom app blocks are always in the ACTIVE state and no action is required to use them.
AppBlockState,
AppBlockStateAppBlock.Builder state(AppBlockState state)
The state of the app block.
An app block with AppStream 2.0 packaging will be in the INACTIVE state if no application
package (VHD) is assigned to it. After an application package (VHD) is created by an app block builder for an
app block, it becomes ACTIVE.
Custom app blocks are always in the ACTIVE state and no action is required to use them.
state - The state of the app block.
An app block with AppStream 2.0 packaging will be in the INACTIVE state if no application
package (VHD) is assigned to it. After an application package (VHD) is created by an app block builder
for an app block, it becomes ACTIVE.
Custom app blocks are always in the ACTIVE state and no action is required to use them.
AppBlockState,
AppBlockStateAppBlock.Builder appBlockErrors(Collection<ErrorDetails> appBlockErrors)
The errors of the app block.
appBlockErrors - The errors of the app block.AppBlock.Builder appBlockErrors(ErrorDetails... appBlockErrors)
The errors of the app block.
appBlockErrors - The errors of the app block.AppBlock.Builder appBlockErrors(Consumer<ErrorDetails.Builder>... appBlockErrors)
The errors of the app block.
This is a convenience method that creates an instance of theErrorDetails.Builder avoiding the need to create one
manually via ErrorDetails.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #appBlockErrors(List.
appBlockErrors - a consumer that will call methods on
ErrorDetails.Builder#appBlockErrors(java.util.Collection) Copyright © 2023. All rights reserved.