Class ResourceDescriptor
java.lang.Object
com.cloudimpl.outstack.runtime.iam.ResourceDescriptor
public class ResourceDescriptor
extends java.lang.Object
- Author:
- nuwan
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceDescriptor.Builderstatic classResourceDescriptor.ResourceScopestatic classResourceDescriptor.TenantScope -
Method Summary
Modifier and Type Method Description static ResourceDescriptor.Builderbuilder()java.lang.StringgetChildId()java.lang.StringgetChildType()ResourceDescriptor.ResourceScopegetResourceScope()java.lang.StringgetRootId()java.lang.StringgetRootType()java.lang.StringgetTenantId()ResourceDescriptor.TenantScopegetTenantScope()java.lang.StringgetVersion()booleanisResourceMatched(AuthInput input, java.util.Map<java.lang.String,java.lang.Object> attr)booleanisTenantResource()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Method Details
-
isResourceMatched
public boolean isResourceMatched(AuthInput input, java.util.Map<java.lang.String,java.lang.Object> attr) -
getTenantId
public java.lang.String getTenantId() -
getRootType
public java.lang.String getRootType() -
getRootId
public java.lang.String getRootId() -
getChildType
public java.lang.String getChildType() -
getChildId
public java.lang.String getChildId() -
getVersion
public java.lang.String getVersion() -
getResourceScope
-
getTenantScope
-
builder
-
isTenantResource
public boolean isTenantResource() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-