Interface DatetimeOptions.Builder

    • Method Detail

      • format

        DatetimeOptions.Builder format​(String format)

        Required option, that defines the datetime format used for a date parameter in the Amazon S3 path. Should use only supported datetime specifiers and separation characters, all literal a-z or A-Z characters should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".

        Parameters:
        format - Required option, that defines the datetime format used for a date parameter in the Amazon S3 path. Should use only supported datetime specifiers and separation characters, all literal a-z or A-Z characters should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timezoneOffset

        DatetimeOptions.Builder timezoneOffset​(String timezoneOffset)

        Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path. Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.

        Parameters:
        timezoneOffset - Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path. Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeCode

        DatetimeOptions.Builder localeCode​(String localeCode)

        Optional value for a non-US locale code, needed for correct interpretation of some date formats.

        Parameters:
        localeCode - Optional value for a non-US locale code, needed for correct interpretation of some date formats.
        Returns:
        Returns a reference to this object so that method calls can be chained together.