Class GetBucket.Request

    • Method Detail

      • builder

        public static GetBucket.Request builder()
        Fluent API builder for configuring a request. The request builder is passed as is, without a build method. The equivalent of a build method is toJson(JsonBuilderFactory) used by the RestApi.
        Returns:
        new request builder
      • namespace

        public GetBucket.Request 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 GetBucket.Request bucket​(String bucket)
        The name of the bucket. Avoid entering confidential information. Required.
        Parameters:
        bucket - bucket name
        Returns:
        updated requst
      • 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