Class S3Profile
java.lang.Object
org.craftercms.commons.config.profiles.ConfigurationProfile
org.craftercms.commons.config.profiles.aws.AbstractAwsProfile
org.craftercms.commons.config.profiles.aws.S3Profile
Holds the information to connect to AWS S3.
- Author:
- joseross
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
Name of the bucket.protected boolean
Indicates if path style access should be used for all requestprotected String
Optional prefix to prepend to all keysFields inherited from class org.craftercms.commons.config.profiles.aws.AbstractAwsProfile
accessKey, endpoint, region, secretKey
Fields inherited from class org.craftercms.commons.config.profiles.ConfigurationProfile
profileId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
void
setBucketName
(String bucketName) void
setPathStyleAccessEnabled
(boolean pathStyleAccessEnabled) void
toString()
Methods inherited from class org.craftercms.commons.config.profiles.aws.AbstractAwsProfile
getAccessKey, getCredentialsProvider, getEndpoint, getRegion, getSecretKey, setAccessKey, setEndpoint, setRegion, setSecretKey
Methods inherited from class org.craftercms.commons.config.profiles.ConfigurationProfile
getProfileId, setProfileId
-
Field Details
-
bucketName
Name of the bucket. -
prefix
Optional prefix to prepend to all keys -
pathStyleAccessEnabled
protected boolean pathStyleAccessEnabledIndicates if path style access should be used for all request
-
-
Constructor Details
-
S3Profile
public S3Profile()
-
-
Method Details
-
getBucketName
-
setBucketName
-
getPrefix
-
setPrefix
-
isPathStyleAccessEnabled
public boolean isPathStyleAccessEnabled() -
setPathStyleAccessEnabled
public void setPathStyleAccessEnabled(boolean pathStyleAccessEnabled) -
equals
- Overrides:
equals
in classAbstractAwsProfile
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractAwsProfile
-
toString
-