public class ResourceConfiguration
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SERVICE_NAME
Default service name used when configuring the `ResourceConfiguration` client.
|
static java.lang.String |
DEFAULT_SERVICE_URL
Default service endpoint URL.
|
| Constructor and Description |
|---|
ResourceConfiguration(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `ResourceConfiguration` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<Bucket> |
getBucketConfig(GetBucketConfigOptions getBucketConfigOptions)
Returns metadata for the specified bucket.
|
static ResourceConfiguration |
newInstance()
Class method which constructs an instance of the `ResourceConfiguration` client.
|
static ResourceConfiguration |
newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `ResourceConfiguration` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
updateBucketConfig(UpdateBucketConfigOptions updateBucketConfigOptions)
Make changes to a bucket's configuration.
|
configureClient, configureHttpClient, configureService, constructServiceUrl, constructServiceURL, createServiceCall, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic static final java.lang.String DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_URL
public ResourceConfiguration(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
serviceName - the service name to be used when configuring the client instanceauthenticator - the Authenticator instance to be configured for this clientpublic static ResourceConfiguration newInstance()
public static ResourceConfiguration newInstance(java.lang.String serviceName)
serviceName - the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<Bucket> getBucketConfig(GetBucketConfigOptions getBucketConfigOptions)
getBucketConfigOptions - the GetBucketConfigOptions containing the options for the callServiceCall with a result of type Bucketpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> updateBucketConfig(UpdateBucketConfigOptions updateBucketConfigOptions)
updateBucketConfigOptions - the UpdateBucketConfigOptions containing the options for the callServiceCall with a void resultCopyright © 2023. All rights reserved.