Class ObjectRequest<T extends ObjectRequest<T>>

    • Constructor Detail

      • ObjectRequest

        public ObjectRequest()
    • Method Detail

      • namespace

        public T namespace​(String namespace)
        The Object Storage namespace used for the request. Override the default namespace (if one is configured).
        Parameters:
        namespace - namespace
        Returns:
        updated request
      • bucket

        public T bucket​(String bucket)
        The name of the bucket. Avoid entering confidential information. Required.
        Parameters:
        bucket - bucket name
        Returns:
        updated requst
      • objectName

        public T objectName​(String objectName)
        The name of the object. Avoid entering confidential information. Required.
        Parameters:
        objectName - name of the object
        Returns:
        updated request
      • namespace

        public Optional<String> namespace()
        Namespace if configured on this request.
        Returns:
        namespace or empty if not configured per request
      • bucket

        public String bucket()
        Name of the bucket, required.
        Returns:
        bucket name
      • objectName

        public String objectName()
        Object name, required.
        Returns:
        object name