Class S3Location

    • Method Detail

      • s3Bucket

        public final String s3Bucket()

        The S3 bucket of the S3 object.

        Returns:
        The S3 bucket of the S3 object.
      • s3Key

        public final String s3Key()

        The S3 key of the S3 object.

        This is required when used for the following:

        • IconS3Location (Actions: CreateApplication and UpdateApplication)

        • SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)

        • ScriptDetails (Actions: CreateAppBlock)

        • SourceS3Location when creating an app block with CUSTOM PackagingType (Actions: CreateAppBlock)

        • SourceS3Location when creating an app block with APPSTREAM2 PackagingType, and using an existing application package (VHD file). In this case, S3Key refers to the VHD file. If a new application package is required, then S3Key is not required. (Actions: CreateAppBlock)

        Returns:
        The S3 key of the S3 object.

        This is required when used for the following:

        • IconS3Location (Actions: CreateApplication and UpdateApplication)

        • SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)

        • ScriptDetails (Actions: CreateAppBlock)

        • SourceS3Location when creating an app block with CUSTOM PackagingType (Actions: CreateAppBlock)

        • SourceS3Location when creating an app block with APPSTREAM2 PackagingType, and using an existing application package (VHD file). In this case, S3Key refers to the VHD file. If a new application package is required, then S3Key is not required. (Actions: CreateAppBlock)

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)