Class GrantGrantee
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.identitydomains.model.GrantGrantee
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class GrantGrantee extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelGrantee beneficiary.The grantee may be a User, Group, App or DynamicResourceGroup. *SCIM++ Properties:** - idcsCsvAttributeNameMappings: [[columnHeaderName:Grantee Name, csvColumnForResolvingResourceType:Grantee Type, mapsTo:grantee.value], [columnHeaderName:Grantee Type, mapsTo:grantee.type]] - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: complex - uniqueness: none 
 Note: Objects should always be created or deserialized using theGrantGrantee.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theGrantGrantee.Builder, which maintain a set of all explicitly set fields calledGrantGrantee.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGrantGrantee.Builderstatic classGrantGrantee.TypeGrantee resource type.
 - 
Constructor SummaryConstructors Constructor Description GrantGrantee(String value, String ref, GrantGrantee.Type type, String display)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrantGrantee.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDisplay()Grantee display nameStringgetRef()Grantee URIGrantGrantee.TypegetType()Grantee resource type.StringgetValue()Grantee identifierinthashCode()GrantGrantee.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
GrantGrantee@Deprecated @ConstructorProperties({"value","ref","type","display"}) public GrantGrantee(String value, String ref, GrantGrantee.Type type, String display) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static GrantGrantee.Builder builder() Create a new builder.
 - 
toBuilderpublic GrantGrantee.Builder toBuilder() 
 - 
getValuepublic String getValue() Grantee identifier*SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getRefpublic String getRef() Grantee URI*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: reference - uniqueness: none - Returns:
- the value
 
 - 
getTypepublic GrantGrantee.Type getType() Grantee resource type.Allowed values are User, Group, App and DynamicResourceGroup. *SCIM++ Properties:** - caseExact: true - idcsCsvAttributeName: Member Type - idcsDefaultValue: User - idcsSearchable: true - multiValued: false - mutability: immutable - required: true - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getDisplaypublic String getDisplay() Grantee display name*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-