com.volcengine.tos.model.object.GetObjectACLV2Output Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ve-tos-java-sdk Show documentation
Show all versions of ve-tos-java-sdk Show documentation
The VolcEngine TOS SDK for Java
package com.volcengine.tos.model.object;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.volcengine.tos.model.RequestInfo;
import com.volcengine.tos.model.acl.GrantV2;
import com.volcengine.tos.model.acl.Owner;
import java.util.List;
public class GetObjectACLV2Output {
@JsonIgnore
private RequestInfo requestInfo;
@JsonIgnore
private String versionID;
@JsonProperty("Owner")
private Owner owner;
@JsonProperty("Grants")
private List grants;
@JsonProperty("BucketOwnerEntrusted")
private boolean bucketOwnerEntrusted;
public RequestInfo getRequestInfo() {
return requestInfo;
}
public GetObjectACLV2Output setRequestInfo(RequestInfo requestInfo) {
this.requestInfo = requestInfo;
return this;
}
public String getVersionID() {
return versionID;
}
public GetObjectACLV2Output setVersionID(String versionID) {
this.versionID = versionID;
return this;
}
public Owner getOwner() {
return owner;
}
public GetObjectACLV2Output setOwner(Owner owner) {
this.owner = owner;
return this;
}
public List getGrants() {
return grants;
}
public GetObjectACLV2Output setGrants(List grants) {
this.grants = grants;
return this;
}
public boolean isBucketOwnerEntrusted() {
return bucketOwnerEntrusted;
}
public GetObjectACLV2Output setBucketOwnerEntrusted(boolean bucketOwnerEntrusted) {
this.bucketOwnerEntrusted = bucketOwnerEntrusted;
return this;
}
@Override
public String toString() {
return "GetObjectACLV2Output{" +
"requestInfo=" + requestInfo +
", versionID='" + versionID + '\'' +
", owner=" + owner +
", grants=" + grants +
", bucketOwnerEntrusted=" + bucketOwnerEntrusted +
'}';
}
}