com.aliyun.oss.model.PutBucketHttpsConfigRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-sdk-oss-shade Show documentation
Show all versions of aliyun-sdk-oss-shade Show documentation
The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service, includes all service and dependent JARs.
The newest version!
package com.aliyun.oss.model;
import java.util.ArrayList;
import java.util.List;
public class PutBucketHttpsConfigRequest extends GenericRequest {
private boolean enable = false;
private List tlsVersion = new ArrayList();
public PutBucketHttpsConfigRequest(String bucketName) {
super(bucketName);
}
public PutBucketHttpsConfigRequest(String bucketName, boolean enabled, List tlsVersion) {
super(bucketName);
this.tlsVersion = tlsVersion;
}
public boolean isEnable() {
return enable;
}
public void setEnable(boolean enable) {
this.enable = enable;
}
public PutBucketHttpsConfigRequest withEnabled(boolean enable) {
this.enable = enable;
return this;
}
public List getTlsVersion() {
return tlsVersion;
}
public void setTlsVersion(List tlsVersion) {
this.tlsVersion = tlsVersion;
}
public PutBucketHttpsConfigRequest withTlsVersion(List tlsVersion) {
this.tlsVersion = tlsVersion;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy