public class BucketConfigurationXmlFactory extends Object
Constructor and Description |
---|
BucketConfigurationXmlFactory() |
Modifier and Type | Method and Description |
---|---|
byte[] |
convertToXmlByteArray(AnalyticsConfiguration config)
Converts the specified
AnalyticsConfiguration object to an
XML fragment that can be sent to Amazon S3. |
byte[] |
convertToXmlByteArray(BucketAccelerateConfiguration accelerateConfiguration)
Converts the specified accelerate configuration into an XML byte array.
|
byte[] |
convertToXmlByteArray(BucketCrossOriginConfiguration config)
Converts the specified
BucketCrossOriginConfiguration object to an XML fragment that
can be sent to Amazon S3. |
byte[] |
convertToXmlByteArray(BucketLifecycleConfiguration config)
Converts the specified
BucketLifecycleConfiguration object to an XML fragment that
can be sent to Amazon S3. |
byte[] |
convertToXmlByteArray(BucketLoggingConfiguration loggingConfiguration)
Converts the specified logging configuration into an XML byte array.
|
byte[] |
convertToXmlByteArray(BucketNotificationConfiguration notificationConfiguration)
Converts the specified notification configuration into an XML byte array.
|
byte[] |
convertToXmlByteArray(BucketReplicationConfiguration replicationConfiguration) |
byte[] |
convertToXmlByteArray(BucketTaggingConfiguration config)
Converts the specified
BucketTaggingConfiguration object to an XML fragment that
can be sent to Amazon S3. |
byte[] |
convertToXmlByteArray(BucketVersioningConfiguration versioningConfiguration)
Converts the specified versioning configuration into an XML byte array.
|
byte[] |
convertToXmlByteArray(BucketWebsiteConfiguration websiteConfiguration)
Converts the specified website configuration into an XML byte array to
send to S3.
|
byte[] |
convertToXmlByteArray(InventoryConfiguration config)
Converts the specified
InventoryConfiguration object to an XML fragment that
can be sent to Amazon S3. |
byte[] |
convertToXmlByteArray(MetricsConfiguration config)
Converts the specified
MetricsConfiguration
object to an XML fragment that can be sent to Amazon S3. |
public byte[] convertToXmlByteArray(BucketVersioningConfiguration versioningConfiguration)
versioningConfiguration
- The configuration to convert.public byte[] convertToXmlByteArray(BucketAccelerateConfiguration accelerateConfiguration)
accelerateConfiguration
- The configuration to convert.public byte[] convertToXmlByteArray(BucketLoggingConfiguration loggingConfiguration)
loggingConfiguration
- The configuration to convert.public byte[] convertToXmlByteArray(BucketNotificationConfiguration notificationConfiguration)
notificationConfiguration
- The configuration to convert.public byte[] convertToXmlByteArray(BucketReplicationConfiguration replicationConfiguration)
public byte[] convertToXmlByteArray(BucketWebsiteConfiguration websiteConfiguration)
websiteConfiguration
- The configuration to convert.public byte[] convertToXmlByteArray(BucketLifecycleConfiguration config) throws SdkClientException
BucketLifecycleConfiguration
object to an XML fragment that
can be sent to Amazon S3.config
- The BucketLifecycleConfiguration
SdkClientException
public byte[] convertToXmlByteArray(BucketCrossOriginConfiguration config) throws SdkClientException
BucketCrossOriginConfiguration
object to an XML fragment that
can be sent to Amazon S3.config
- The BucketCrossOriginConfiguration
SdkClientException
public byte[] convertToXmlByteArray(BucketTaggingConfiguration config) throws SdkClientException
BucketTaggingConfiguration
object to an XML fragment that
can be sent to Amazon S3.config
- The BucketTaggingConfiguration
SdkClientException
public byte[] convertToXmlByteArray(InventoryConfiguration config) throws SdkClientException
InventoryConfiguration
object to an XML fragment that
can be sent to Amazon S3.config
- The InventoryConfiguration
SdkClientException
public byte[] convertToXmlByteArray(AnalyticsConfiguration config) throws SdkClientException
AnalyticsConfiguration
object to an
XML fragment that can be sent to Amazon S3.config
- The AnalyticsConfiguration
SdkClientException
public byte[] convertToXmlByteArray(MetricsConfiguration config) throws SdkClientException
MetricsConfiguration
object to an XML fragment that can be sent to Amazon S3.config
- The MetricsConfiguration
.SdkClientException
Copyright © 2017. All rights reserved.