Class S3BackendMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.QBackendMetaData
com.kingsrook.qqq.backend.module.filesystem.base.model.metadata.AbstractFilesystemBackendMetaData
com.kingsrook.qqq.backend.module.filesystem.s3.model.metadata.S3BackendMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,TopLevelMetaDataInterface,Serializable
S3 backend meta data.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenrich()Called by the QInstanceEnricher - to do backend-type-specific enrichments.Getter for accessKeyGetter for bucketNameGetter for regionGetter for secretKeyvoidsetAccessKey(String accessKey) Setter for accessKeyvoidsetBucketName(String bucketName) Setter for bucketNamevoidSetter for regionvoidsetSecretKey(String secretKey) Setter for secretKeywithAccessKey(String accessKey) Fluent setter for accessKeywithBasePath(String basePath) Fluent setter for basePathwithBucketName(String bucketName) Fluent setter for bucketNameFluent setter for namewithRegion(String region) Fluent setter for regionwithSecretKey(String secretKey) Fluent setter for secretKeyMethods inherited from class com.kingsrook.qqq.backend.module.filesystem.base.model.metadata.AbstractFilesystemBackendMetaData
getBasePath, requiresPrimaryKeyOnTables, setBasePathMethods inherited from class com.kingsrook.qqq.backend.core.model.metadata.QBackendMetaData
addSelfToInstance, getBackendType, getBackendVariantsConfig, getDisabledCapabilities, getEnabledCapabilities, getName, getUsesVariants, performValidation, setBackendType, setBackendType, setBackendVariantsConfig, setDisabledCapabilities, setEnabledCapabilities, setName, setUsesVariants, setVariantOptionsTableApiKeyField, setVariantOptionsTableClientIdField, setVariantOptionsTableClientSecretField, setVariantOptionsTableIdField, setVariantOptionsTableName, setVariantOptionsTableNameField, setVariantOptionsTablePasswordField, setVariantOptionsTableTypeField, setVariantOptionsTableTypeValue, setVariantOptionsTableUsernameField, withBackendType, withBackendVariantsConfig, withCapabilities, withCapabilities, withCapability, withDisabledCapabilities, withEnabledCapabilities, withoutCapabilities, withoutCapabilities, withoutCapability, withUsesVariants, withVariantOptionsTableApiKeyField, withVariantOptionsTableClientIdField, withVariantOptionsTableClientSecretField, withVariantOptionsTableIdField, withVariantOptionsTableName, withVariantOptionsTableNameField, withVariantOptionsTablePasswordField, withVariantOptionsTableTypeField, withVariantOptionsTableTypeValue, withVariantOptionsTableUsernameField
-
Constructor Details
-
S3BackendMetaData
public S3BackendMetaData()Default Constructor.
-
-
Method Details
-
getBucketName
Getter for bucketName -
setBucketName
Setter for bucketName -
withBucketName
Fluent setter for bucketName -
getAccessKey
Getter for accessKey -
setAccessKey
Setter for accessKey -
withAccessKey
Fluent setter for accessKey -
getSecretKey
Getter for secretKey -
setSecretKey
Setter for secretKey -
withSecretKey
Fluent setter for secretKey -
getRegion
Getter for region -
setRegion
Setter for region -
withRegion
Fluent setter for region -
enrich
public void enrich()Called by the QInstanceEnricher - to do backend-type-specific enrichments. Original use case is: reading secrets into fields (e.g., passwords). TODO - migrate to use @InterpretableFields (and complete that impl on core side)- Overrides:
enrichin classQBackendMetaData
-
withBasePath
Fluent setter for basePath- Overrides:
withBasePathin classAbstractFilesystemBackendMetaData
-
withName
Fluent setter for name- Overrides:
withNamein classQBackendMetaData
-