Interface AppBlock.Builder

    • Method Detail

      • name

        AppBlock.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.
      • arn

        AppBlock.Builder arn​(String arn)

        The ARN of the app block.

        Parameters:
        arn - The ARN of the app block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        AppBlock.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

        AppBlock.Builder displayName​(String displayName)

        The display name of the app block.

        Parameters:
        displayName - The display name of the app block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceS3Location

        AppBlock.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.
      • setupScriptDetails

        AppBlock.Builder setupScriptDetails​(ScriptDetails setupScriptDetails)

        The setup script details of the app block.

        This only applies to app blocks with PackagingType CUSTOM.

        Parameters:
        setupScriptDetails - The setup script details of the app block.

        This only applies to app blocks with PackagingType CUSTOM.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTime

        AppBlock.Builder createdTime​(Instant createdTime)

        The created time of the app block.

        Parameters:
        createdTime - The created time of the app block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postSetupScriptDetails

        AppBlock.Builder postSetupScriptDetails​(ScriptDetails postSetupScriptDetails)

        The post setup script details of the app block.

        This only applies to app blocks with PackagingType APPSTREAM2.

        Parameters:
        postSetupScriptDetails - The post setup script details of the app block.

        This only applies to app blocks with PackagingType APPSTREAM2.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • packagingType

        AppBlock.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

        AppBlock.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
      • state

        AppBlock.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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AppBlockState, AppBlockState
      • state

        AppBlock.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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AppBlockState, AppBlockState
      • appBlockErrors

        AppBlock.Builder appBlockErrors​(Collection<ErrorDetails> appBlockErrors)

        The errors of the app block.

        Parameters:
        appBlockErrors - The errors of the app block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • appBlockErrors

        AppBlock.Builder appBlockErrors​(ErrorDetails... appBlockErrors)

        The errors of the app block.

        Parameters:
        appBlockErrors - The errors of the app block.
        Returns:
        Returns a reference to this object so that method calls can be chained together.