Class COSPropertiesAdapter
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.cos.COSPropertiesAdapter
-
public class COSPropertiesAdapter extends java.lang.Object
Adapter to support reading of COS properties from aProperties
instance
-
-
Constructor Summary
Constructors Constructor Description COSPropertiesAdapter(java.util.Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApiKey()
Get the API key propertyjava.lang.String
getBucketName()
Get the bucket name propertyjava.lang.String
getEndpointUrl()
Get the endpoint propertyjava.lang.String
getLocation()
Get the location propertyint
getMaxKeys()
Max keys per list objects requestint
getRequestTimeout()
COS request timeout in millisecondsint
getSocketTimeout()
COS socket timeout in millisecondsjava.lang.String
getSrvInstId()
Get the srvinstid propertyboolean
isCredentialIBM()
Get the credential_ibm property
-
-
-
Method Detail
-
getApiKey
public java.lang.String getApiKey()
Get the API key property- Returns:
-
getSrvInstId
public java.lang.String getSrvInstId()
Get the srvinstid property- Returns:
-
getEndpointUrl
public java.lang.String getEndpointUrl()
Get the endpoint property- Returns:
-
getLocation
public java.lang.String getLocation()
Get the location property- Returns:
-
getBucketName
public java.lang.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:
-
-