com.obs.services.model.bpa.PutBucketPublicAccessBlockRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esdk-obs-java-bundle Show documentation
Show all versions of esdk-obs-java-bundle Show documentation
The HuaweiCloud OBS Bundle SDK for Java used for accessing Object Storage Service, this SDK bundle
includes third-party libraries and relocated to different namespaces
The newest version!
/*
* Copyright (c) Huawei Technologies Co., Ltd. 2024-2024. All rights reserved.
*/
package com.obs.services.model.bpa;
import com.obs.services.model.BaseBucketRequest;
import com.obs.services.model.HttpMethodEnum;
public class PutBucketPublicAccessBlockRequest extends BaseBucketRequest {
{
httpMethod = HttpMethodEnum.PUT;
}
private BucketPublicAccessBlock bucketPublicAccessBlock;
public PutBucketPublicAccessBlockRequest(String bucketName, BucketPublicAccessBlock bucketPublicAccessBlock) {
super(bucketName);
this.bucketPublicAccessBlock = bucketPublicAccessBlock;
}
public BucketPublicAccessBlock getBucketPublicAccessBlock() {
if (bucketPublicAccessBlock == null) {
bucketPublicAccessBlock = new BucketPublicAccessBlock();
}
return bucketPublicAccessBlock;
}
public void setBucketPublicAccessBlock(BucketPublicAccessBlock bucketPublicAccessBlock) {
this.bucketPublicAccessBlock = bucketPublicAccessBlock;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy