public class AmazonS3FileSource extends AmazonS3File implements FileSource
amazonS3FileSystem, bucketName, path
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
AmazonS3FileSource() |
Modifier and Type | Method and Description |
---|---|
AmazonS3FileSource |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
AmazonS3FileSource |
fromXmlElement(Element element) |
InputStream |
getInputStream() |
AmazonS3FileSource |
setAmazonS3FileSystem(AmazonS3FileSystem amazonS3FileSystem) |
AmazonS3FileSource |
setBasicAWSCredentials(String accessKey,
String secretKey) |
AmazonS3FileSource |
setBucketName(String bucketName) |
AmazonS3FileSource |
setCredentials(AWSCredentials credentials) |
AmazonS3FileSource |
setCredentialsProvider(AWSCredentialsProvider credentialsProvider) |
AmazonS3FileSource |
setName(String name) |
AmazonS3FileSource |
setPath(String path) |
AmazonS3FileSource |
setProfileCredentialsProvider() |
Element |
toXmlElement(Document document) |
assertValid, getAmazonS3FileSystem, getBucketName, getContentType, getCredentials, getCredentialsProvider, getFileSize, getFileType, getName, getPath, getUrlPath, isDebug, isLocal, setDebug, toRecord
addExceptionProperties, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContentType, getFileSize, getFileType, getName, getPath, getUrlPath, isLocal
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exception
public InputStream getInputStream()
getInputStream
in interface FileSource
public AmazonS3FileSource setName(String name)
setName
in class AmazonS3File
public AmazonS3FileSource setPath(String path)
setPath
in class AmazonS3File
public AmazonS3FileSource setBucketName(String bucketName)
setBucketName
in class AmazonS3File
public AmazonS3FileSource setAmazonS3FileSystem(AmazonS3FileSystem amazonS3FileSystem)
setAmazonS3FileSystem
in class AmazonS3File
public AmazonS3FileSource setCredentials(AWSCredentials credentials)
setCredentials
in class AmazonS3File
public AmazonS3FileSource setProfileCredentialsProvider()
setProfileCredentialsProvider
in class AmazonS3File
public AmazonS3FileSource setCredentialsProvider(AWSCredentialsProvider credentialsProvider)
setCredentialsProvider
in class AmazonS3File
public AmazonS3FileSource setBasicAWSCredentials(String accessKey, String secretKey)
setBasicAWSCredentials
in class AmazonS3File
public AmazonS3FileSource fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in interface FileSource
fromRecord
in class AmazonS3File
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class AmazonS3File
public AmazonS3FileSource fromXmlElement(Element element)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class AmazonS3File
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.