类com.amazonaws.services.s3.model.SetBucketLoggingConfigurationRequest源码实例Demo

下面列出了怎么用com.amazonaws.services.s3.model.SetBucketLoggingConfigurationRequest的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: s3proxy   文件: AwsSdkTest.java
@Test
public void testUnknownParameter() throws Exception {
    try {
        client.setBucketLoggingConfiguration(
                new SetBucketLoggingConfigurationRequest(
                        containerName, new BucketLoggingConfiguration()));
        Fail.failBecauseExceptionWasNotThrown(AmazonS3Exception.class);
    } catch (AmazonS3Exception e) {
        assertThat(e.getErrorCode()).isEqualTo("NotImplemented");
    }
}
 
源代码2 项目: ignite   文件: DummyS3Client.java
/** Unsupported Operation. */
@Override public void setBucketLoggingConfiguration(
    SetBucketLoggingConfigurationRequest setBucketLoggingConfigurationReq) throws SdkClientException {
    throw new UnsupportedOperationException("Operation not supported");
}
 
源代码3 项目: Scribengin   文件: AmazonS3Mock.java
@Override
public void setBucketLoggingConfiguration(SetBucketLoggingConfigurationRequest setBucketLoggingConfigurationRequest)
    throws AmazonClientException, AmazonServiceException {
  // TODO Auto-generated method stub

}
 
 类方法
 同包方法