Constructor and Description |
---|
MinioConfiguration() |
Modifier and Type | Method and Description |
---|---|
MinioConfiguration |
copy() |
String |
getAccessKey() |
String |
getBucketName() |
okhttp3.OkHttpClient |
getCustomHttpClient() |
String |
getDelimiter() |
String |
getDestinationBucketName() |
String |
getDestinationObjectName() |
String |
getEndpoint() |
String |
getKeyName() |
long |
getLength() |
String |
getMatchETag() |
int |
getMaxConnections() |
int |
getMaxMessagesPerPoll() |
io.minio.MinioClient |
getMinioClient() |
ZonedDateTime |
getModifiedSince() |
String |
getNotMatchETag() |
String |
getObjectName() |
long |
getOffset() |
MinioOperations |
getOperation() |
String |
getPolicy() |
String |
getPrefix() |
Integer |
getProxyPort() |
String |
getRegion() |
String |
getSecretKey() |
io.minio.ServerSideEncryption |
getServerSideEncryption() |
io.minio.ServerSideEncryptionCustomerKey |
getServerSideEncryptionCustomerKey() |
String |
getStartAfter() |
String |
getStorageClass() |
ZonedDateTime |
getUnModifiedSince() |
String |
getVersionId() |
boolean |
isAutoCloseBody() |
boolean |
isAutoCreateBucket() |
boolean |
isBypassGovernanceMode() |
boolean |
isDeleteAfterRead() |
boolean |
isDeleteAfterWrite() |
boolean |
isIncludeBody() |
boolean |
isIncludeFolders() |
boolean |
isIncludeUserMetadata() |
boolean |
isIncludeVersions() |
boolean |
isMoveAfterRead() |
boolean |
isObjectLock() |
boolean |
isPojoRequest() |
boolean |
isRecursive() |
boolean |
isSecure() |
boolean |
isUseVersion1() |
void |
setAccessKey(String accessKey)
Amazon AWS Secret Access Key or Minio Access Key.
|
void |
setAutoCloseBody(boolean autoCloseBody)
If this option is true and includeBody is true, then the MinioObject.close() method will be called on exchange
completion.
|
void |
setAutoCreateBucket(boolean autoCreateBucket)
Setting the autocreation of the bucket if bucket name not exist.
|
void |
setBucketName(String bucketName)
Name of the bucket.
|
void |
setBypassGovernanceMode(boolean bypassGovernanceMode)
Set this flag if you want to bypassGovernanceMode when deleting a particular object.
|
void |
setCustomHttpClient(okhttp3.OkHttpClient customHttpClient)
Set custom HTTP client for authenticated access.
|
void |
setDeleteAfterRead(boolean deleteAfterRead)
Delete objects from Minio after they have been retrieved.
|
void |
setDeleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the Minio file has been uploaded.
|
void |
setDelimiter(String delimiter)
The delimiter which is used in the ListObjectsRequest to only consume objects we are interested in.
|
void |
setDestinationBucketName(String destinationBucketName)
Source bucket name.
|
void |
setDestinationObjectName(String destinationObjectName)
Source object name.
|
void |
setEndpoint(String endpoint)
Endpoint can be an URL, domain name, IPv4 address or IPv6 address.
|
void |
setIncludeBody(boolean includeBody)
If it is true, the exchange body will be set to a stream to the contents of the file.
|
void |
setIncludeFolders(boolean includeFolders)
The flag which is used in the ListObjectsRequest to set include folders.
|
void |
setIncludeUserMetadata(boolean includeUserMetadata)
The flag which is used in the ListObjectsRequest to get objects with user meta data.
|
void |
setIncludeVersions(boolean includeVersions)
The flag which is used in the ListObjectsRequest to get objects with versioning.
|
void |
setKeyName(String keyName)
Setting the key name for an element in the bucket through endpoint parameter.
|
void |
setLength(long length)
Number of bytes of object data from offset.
|
void |
setMatchETag(String matchETag)
Set match ETag parameter for get object(s).
|
void |
setMaxConnections(int maxConnections)
Set the maxConnections parameter in the minio client configuration
|
void |
setMaxMessagesPerPoll(int maxMessagesPerPoll)
Gets the maximum number of messages as a limit to poll at each polling.
|
void |
setMinioClient(io.minio.MinioClient minioClient)
Reference to a Minio Client object in the registry.
|
void |
setModifiedSince(ZonedDateTime modifiedSince)
Set modified since parameter for get object(s).
|
void |
setMoveAfterRead(boolean moveAfterRead)
Move objects from bucket to a different bucket after they have been retrieved.
|
void |
setNotMatchETag(String notMatchETag)
Set not match ETag parameter for get object(s).
|
void |
setObjectLock(boolean objectLock)
Set when creating new bucket.
|
void |
setObjectName(String objectName)
To get the object from the bucket with the given object name.
|
void |
setOffset(long offset)
Start byte position of object data.
|
void |
setOperation(MinioOperations operation)
The operation to do in case the user don't want to do only an upload.
|
void |
setPojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not.
|
void |
setPolicy(String policy)
The policy for this queue to set in the method.
|
void |
setPrefix(String prefix)
Object name starts with prefix.
|
void |
setProxyPort(Integer proxyPort)
TCP/IP port number.
|
void |
setRecursive(boolean recursive)
List recursively than directory structure emulation.
|
void |
setRegion(String region)
The region in which Minio client needs to work.
|
void |
setSecretKey(String secretKey)
Amazon AWS Access Key Id or Minio Secret Key.
|
void |
setSecure(boolean secure)
Flag to indicate to use secure connection to minio service or not.
|
void |
setServerSideEncryption(io.minio.ServerSideEncryption serverSideEncryption)
Server-side encryption.
|
void |
setServerSideEncryptionCustomerKey(io.minio.ServerSideEncryptionCustomerKey serverSideEncryptionCustomerKey)
Server-side encryption for source object while copy/move objects.
|
void |
setStartAfter(String startAfter)
list objects in bucket after this object name.
|
void |
setStorageClass(String storageClass)
The storage class to set in the request.
|
void |
setUnModifiedSince(ZonedDateTime unModifiedSince)
Set un modified since parameter for get object(s).
|
void |
setUseVersion1(boolean useVersion1)
when true, version 1 of REST API is used.
|
void |
setVersionId(String versionId)
Set specific version_ID of a object when deleting the object.
|
public String getEndpoint()
public void setEndpoint(String endpoint)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public boolean isSecure()
public void setSecure(boolean secure)
public String getRegion()
public void setRegion(String region)
public okhttp3.OkHttpClient getCustomHttpClient()
public void setCustomHttpClient(okhttp3.OkHttpClient customHttpClient)
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecretKey()
public void setSecretKey(String secretKey)
public String getBucketName()
public void setBucketName(String bucketName)
public boolean isAutoCreateBucket()
public void setAutoCreateBucket(boolean autoCreateBucket)
public boolean isObjectLock()
public void setObjectLock(boolean objectLock)
public String getPolicy()
public void setPolicy(String policy)
public io.minio.ServerSideEncryptionCustomerKey getServerSideEncryptionCustomerKey()
public void setServerSideEncryptionCustomerKey(io.minio.ServerSideEncryptionCustomerKey serverSideEncryptionCustomerKey)
public io.minio.ServerSideEncryption getServerSideEncryption()
public void setServerSideEncryption(io.minio.ServerSideEncryption serverSideEncryption)
public io.minio.MinioClient getMinioClient()
public void setMinioClient(io.minio.MinioClient minioClient)
public int getMaxMessagesPerPoll()
public void setMaxMessagesPerPoll(int maxMessagesPerPoll)
public int getMaxConnections()
public void setMaxConnections(int maxConnections)
public String getObjectName()
public void setObjectName(String objectName)
public String getDelimiter()
public void setDelimiter(String delimiter)
public boolean isIncludeUserMetadata()
public void setIncludeUserMetadata(boolean includeUserMetadata)
public boolean isIncludeVersions()
public void setIncludeVersions(boolean includeVersions)
public boolean isIncludeFolders()
public void setIncludeFolders(boolean includeFolders)
public String getPrefix()
public void setPrefix(String prefix)
public boolean isRecursive()
public void setRecursive(boolean recursive)
public String getStartAfter()
public void setStartAfter(String startAfter)
public boolean isUseVersion1()
public void setUseVersion1(boolean useVersion1)
public long getOffset()
public void setOffset(long offset)
public long getLength()
public void setLength(long length)
public String getVersionId()
public void setVersionId(String versionId)
public String getMatchETag()
public void setMatchETag(String matchETag)
public String getNotMatchETag()
public void setNotMatchETag(String notMatchETag)
public ZonedDateTime getModifiedSince()
public void setModifiedSince(ZonedDateTime modifiedSince)
public ZonedDateTime getUnModifiedSince()
public void setUnModifiedSince(ZonedDateTime unModifiedSince)
public String getDestinationBucketName()
public void setDestinationBucketName(String destinationBucketName)
public String getDestinationObjectName()
public void setDestinationObjectName(String destinationObjectName)
public boolean isDeleteAfterRead()
public void setDeleteAfterRead(boolean deleteAfterRead)
MinioConstants.BUCKET_NAME
and MinioConstants.OBJECT_NAME
headers, or only the
MinioConstants.OBJECT_NAME
header.public boolean isMoveAfterRead()
public void setMoveAfterRead(boolean moveAfterRead)
public boolean isBypassGovernanceMode()
public void setBypassGovernanceMode(boolean bypassGovernanceMode)
public boolean isIncludeBody()
public void setIncludeBody(boolean includeBody)
public boolean isAutoCloseBody()
public void setAutoCloseBody(boolean autoCloseBody)
public String getKeyName()
public void setKeyName(String keyName)
public boolean isDeleteAfterWrite()
public void setDeleteAfterWrite(boolean deleteAfterWrite)
public String getStorageClass()
public void setStorageClass(String storageClass)
public MinioOperations getOperation()
public void setOperation(MinioOperations operation)
public boolean isPojoRequest()
public void setPojoRequest(boolean pojoRequest)
public MinioConfiguration copy()
Apache Camel