Search in sources :

Example 1 with StorageClassAnalysisDataExport

use of com.amazonaws.services.s3.model.analytics.StorageClassAnalysisDataExport in project aws-sdk-android by aws-amplify.

the class BucketConfigurationXmlFactory method writeStorageClassAnalysis.

private void writeStorageClassAnalysis(XmlWriter xml, StorageClassAnalysis storageClassAnalysis) {
    if (storageClassAnalysis == null) {
        return;
    }
    xml.start("StorageClassAnalysis");
    if (storageClassAnalysis.getDataExport() != null) {
        final StorageClassAnalysisDataExport dataExport = storageClassAnalysis.getDataExport();
        xml.start("DataExport");
        addParameterIfNotNull(xml, "OutputSchemaVersion", dataExport.getOutputSchemaVersion());
        writeAnalyticsExportDestination(xml, dataExport.getDestination());
        // </DataExport>
        xml.end();
    }
    // </StorageClassAnalysis>
    xml.end();
}
Also used : StorageClassAnalysisDataExport(com.amazonaws.services.s3.model.analytics.StorageClassAnalysisDataExport)

Aggregations

StorageClassAnalysisDataExport (com.amazonaws.services.s3.model.analytics.StorageClassAnalysisDataExport)1