Interface CreateSessionRequest.Builder

    • Method Detail

      • sessionMode

        CreateSessionRequest.Builder sessionMode​(String sessionMode)

        Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session is capable of executing all the Zonal endpoint APIs on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint APIs: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts , and ListMultipartUploads.

        Parameters:
        sessionMode - Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session is capable of executing all the Zonal endpoint APIs on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint APIs: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts, and ListMultipartUploads.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SessionMode, SessionMode
      • sessionMode

        CreateSessionRequest.Builder sessionMode​(SessionMode sessionMode)

        Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session is capable of executing all the Zonal endpoint APIs on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint APIs: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts , and ListMultipartUploads.

        Parameters:
        sessionMode - Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session is capable of executing all the Zonal endpoint APIs on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint APIs: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts, and ListMultipartUploads.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SessionMode, SessionMode
      • bucket

        CreateSessionRequest.Builder bucket​(String bucket)

        The name of the bucket that you create a session for.

        Parameters:
        bucket - The name of the bucket that you create a session for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.