Package com.mxraven.admin.model
Class UpdateStorageIntegrationRequest.Builder
java.lang.Object
com.mxraven.admin.model.UpdateStorageIntegrationRequest.Builder
- Enclosing class:
- UpdateStorageIntegrationRequest
Builds
UpdateStorageIntegrationRequest instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the storage access key.bucketName(String bucketName) Sets the target bucket name.build()Builds the request.displayName(String displayName) Sets the human-readable integration name.endpointUrl(String endpointUrl) Sets the custom S3-compatible endpoint; use an empty string for AWS.forcePathStyle(boolean forcePathStyle) Sets whether path-style bucket addressing is used.Sets the bucket region.Sets the storage secret key.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the human-readable integration name.- Parameters:
displayName- human-readable integration name- Returns:
- this builder
-
accessKey
Sets the storage access key.- Parameters:
accessKey- storage access key- Returns:
- this builder
-
secretKey
Sets the storage secret key.- Parameters:
secretKey- storage secret key- Returns:
- this builder
-
bucketName
Sets the target bucket name.- Parameters:
bucketName- target bucket name- Returns:
- this builder
-
region
Sets the bucket region.- Parameters:
region- bucket region- Returns:
- this builder
-
endpointUrl
Sets the custom S3-compatible endpoint; use an empty string for AWS.- Parameters:
endpointUrl- endpoint URL; may be empty for AWS- Returns:
- this builder
-
forcePathStyle
Sets whether path-style bucket addressing is used.- Parameters:
forcePathStyle- whether path-style addressing is used- Returns:
- this builder
-
build
Builds the request.- Returns:
- the update request
- Throws:
IllegalArgumentException- if a field fails validation
-