Package com.ibm.fhir.bucket.cos
Class COSPropertiesAdapter
- java.lang.Object
-
- com.ibm.fhir.bucket.cos.COSPropertiesAdapter
-
public class COSPropertiesAdapter extends Object
Adapter to support reading of COS properties from aPropertiesinstance
-
-
Constructor Summary
Constructors Constructor Description COSPropertiesAdapter(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiKey()Get the API key propertyStringgetBucketName()Get the bucket name propertyStringgetEndpointUrl()Get the endpoint propertyStringgetLocation()Get the location propertyintgetMaxKeys()Max keys per list objects requestintgetRequestTimeout()COS request timeout in millisecondsintgetSocketTimeout()COS socket timeout in millisecondsStringgetSrvInstId()Get the srvinstid propertybooleanisCredentialIBM()Get the credential_ibm property
-
-
-
Constructor Detail
-
COSPropertiesAdapter
public COSPropertiesAdapter(Properties properties)
-
-
Method Detail
-
getApiKey
public String getApiKey()
Get the API key property- Returns:
-
getSrvInstId
public String getSrvInstId()
Get the srvinstid property- Returns:
-
getEndpointUrl
public String getEndpointUrl()
Get the endpoint property- Returns:
-
getLocation
public String getLocation()
Get the location property- Returns:
-
getBucketName
public String getBucketName()
Get the bucket name property- Returns:
-
isCredentialIBM
public boolean isCredentialIBM()
Get the credential_ibm property- Returns:
-
getRequestTimeout
public int getRequestTimeout()
COS request timeout in milliseconds- Returns:
-
getSocketTimeout
public int getSocketTimeout()
COS socket timeout in milliseconds- Returns:
-
getMaxKeys
public int getMaxKeys()
Max keys per list objects request- Returns:
-
-