com.aliyun.datalake20200710.models.PrincipalResourcePermissions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datalake20200710 Show documentation
Show all versions of datalake20200710 Show documentation
Alibaba Cloud DataLake (20200710) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.datalake20200710.models;
import com.aliyun.tea.*;
public class PrincipalResourcePermissions extends TeaModel {
@NameInMap("Accesses")
public java.util.List accesses;
@NameInMap("DelegateAccesses")
public java.util.List delegateAccesses;
@NameInMap("MetaResource")
public MetaResource metaResource;
@NameInMap("Principal")
public Principal principal;
public static PrincipalResourcePermissions build(java.util.Map map) throws Exception {
PrincipalResourcePermissions self = new PrincipalResourcePermissions();
return TeaModel.build(map, self);
}
public PrincipalResourcePermissions setAccesses(java.util.List accesses) {
this.accesses = accesses;
return this;
}
public java.util.List getAccesses() {
return this.accesses;
}
public PrincipalResourcePermissions setDelegateAccesses(java.util.List delegateAccesses) {
this.delegateAccesses = delegateAccesses;
return this;
}
public java.util.List getDelegateAccesses() {
return this.delegateAccesses;
}
public PrincipalResourcePermissions setMetaResource(MetaResource metaResource) {
this.metaResource = metaResource;
return this;
}
public MetaResource getMetaResource() {
return this.metaResource;
}
public PrincipalResourcePermissions setPrincipal(Principal principal) {
this.principal = principal;
return this;
}
public Principal getPrincipal() {
return this.principal;
}
}