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
-
public class S3Profile extends AbstractAwsProfile
Holds the information to connect to AWS S3.- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected String
bucketName
Name of the bucket.protected boolean
pathStyleAccessEnabled
Indicates if path style access should be used for all requestprotected String
prefix
Optional prefix to prepend to all keys-
Fields 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
Constructors Constructor Description S3Profile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBucketName()
String
getPrefix()
int
hashCode()
boolean
isPathStyleAccessEnabled()
void
setBucketName(String bucketName)
void
setPathStyleAccessEnabled(boolean pathStyleAccessEnabled)
void
setPrefix(String prefix)
String
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
-
-
-
-
Method Detail
-
getBucketName
public String getBucketName()
-
setBucketName
public void setBucketName(String bucketName)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
isPathStyleAccessEnabled
public boolean isPathStyleAccessEnabled()
-
setPathStyleAccessEnabled
public void setPathStyleAccessEnabled(boolean pathStyleAccessEnabled)
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractAwsProfile
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractAwsProfile
-
-