public class AmazonS3FileSink extends AmazonS3File implements FileSink
amazonS3FileSystem, bucketName, path
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
AmazonS3FileSink() |
Modifier and Type | Method and Description |
---|---|
AmazonS3FileSink |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
AmazonS3FileSink |
fromXmlElement(Element localFileSinkElement) |
OutputStream |
getOutputStream() |
boolean |
isAppend() |
AmazonS3FileSink |
setAmazonS3FileSystem(AmazonS3FileSystem amazonS3FileSystem) |
AmazonS3FileSink |
setBasicAWSCredentials(String accessKey,
String secretKey) |
AmazonS3FileSink |
setBucketName(String bucketName) |
AmazonS3FileSink |
setCredentials(AWSCredentials credentials) |
AmazonS3FileSink |
setCredentialsProvider(AWSCredentialsProvider credentialsProvider) |
AmazonS3FileSink |
setName(String name) |
AmazonS3FileSink |
setPath(String path) |
AmazonS3FileSink |
setProfileCredentialsProvider() |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
assertValid, getAmazonS3FileSystem, getBucketName, getContentType, getCredentials, getCredentialsProvider, getFileSize, getFileType, getName, getPath, getUrlPath, isDebug, isLocal, setDebug
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
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 OutputStream getOutputStream()
getOutputStream
in interface FileSink
public AmazonS3FileSink setName(String name)
setName
in class AmazonS3File
public AmazonS3FileSink setPath(String path)
setPath
in class AmazonS3File
public AmazonS3FileSink setBucketName(String bucketName)
setBucketName
in class AmazonS3File
public AmazonS3FileSink setAmazonS3FileSystem(AmazonS3FileSystem amazonS3FileSystem)
setAmazonS3FileSystem
in class AmazonS3File
public AmazonS3FileSink setCredentials(AWSCredentials credentials)
setCredentials
in class AmazonS3File
public AmazonS3FileSink setProfileCredentialsProvider()
setProfileCredentialsProvider
in class AmazonS3File
public AmazonS3FileSink setCredentialsProvider(AWSCredentialsProvider credentialsProvider)
setCredentialsProvider
in class AmazonS3File
public AmazonS3FileSink setBasicAWSCredentials(String accessKey, String secretKey)
setBasicAWSCredentials
in class AmazonS3File
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class AmazonS3File
public AmazonS3FileSink 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 FileSink
fromRecord
in class AmazonS3File
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
toXmlElement
in class AmazonS3File
public AmazonS3FileSink fromXmlElement(Element localFileSinkElement)
fromXmlElement
in interface XmlSerializable
fromXmlElement
in class AmazonS3File
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.