Class S3StorageOptions

    • Method Detail

      • directoryListingOptimization

        public final DirectoryListingOptimization directoryListingOptimization()

        Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.

        By default, home directory mappings have a TYPE of DIRECTORY. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.

        If the service returns an enum value that is not available in the current SDK version, directoryListingOptimization will return DirectoryListingOptimization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from directoryListingOptimizationAsString().

        Returns:
        Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.

        By default, home directory mappings have a TYPE of DIRECTORY. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.

        See Also:
        DirectoryListingOptimization
      • directoryListingOptimizationAsString

        public final String directoryListingOptimizationAsString()

        Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.

        By default, home directory mappings have a TYPE of DIRECTORY. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.

        If the service returns an enum value that is not available in the current SDK version, directoryListingOptimization will return DirectoryListingOptimization.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from directoryListingOptimizationAsString().

        Returns:
        Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.

        By default, home directory mappings have a TYPE of DIRECTORY. If you enable this option, you would then need to explicitly set the HomeDirectoryMapEntry Type to FILE if you want a mapping to have a file target.

        See Also:
        DirectoryListingOptimization
      • 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)