Class AppGrantedAppRoles
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.identitydomains.model.AppGrantedAppRoles
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class AppGrantedAppRoles extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA list of AppRoles that are granted to this App (and that are defined by other Apps).Within the Oracle Public Cloud infrastructure, this allows AppID-based association. Such an association allows this App to act as a consumer and thus to access resources of another App that acts as a producer. 
 Note: Objects should always be created or deserialized using theAppGrantedAppRoles.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 theAppGrantedAppRoles.Builder, which maintain a set of all explicitly set fields calledAppGrantedAppRoles.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 classAppGrantedAppRoles.Builderstatic classAppGrantedAppRoles.TypeA label that indicates whether this AppRole was granted directly to the App (or indirectly through a Group).
 - 
Constructor SummaryConstructors Constructor Description AppGrantedAppRoles(String value, String ref, AppGrantedAppRoles.Type type, String display, String appId, String appName, Boolean adminRole, String legacyGroupName, Boolean readOnly)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppGrantedAppRoles.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetAdminRole()If true, then this granted AppRole confers administrative privileges within the App that defines it.StringgetAppId()The id of the App that defines this AppRole, which is granted to this App.StringgetAppName()The name of the App that defines this AppRole, which is granted to this App.StringgetDisplay()The display-name of an AppRole that is granted to this App.StringgetLegacyGroupName()The name of the legacy group associated with this AppRole.BooleangetReadOnly()If true, indicates that this value must be protected.StringgetRef()The URI of an AppRole that is granted to this App.AppGrantedAppRoles.TypegetType()A label that indicates whether this AppRole was granted directly to the App (or indirectly through a Group).StringgetValue()The id of an AppRole that is granted to this App.inthashCode()AppGrantedAppRoles.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
AppGrantedAppRoles@Deprecated @ConstructorProperties({"value","ref","type","display","appId","appName","adminRole","legacyGroupName","readOnly"}) public AppGrantedAppRoles(String value, String ref, AppGrantedAppRoles.Type type, String display, String appId, String appName, Boolean adminRole, String legacyGroupName, Boolean readOnly) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static AppGrantedAppRoles.Builder builder() Create a new builder.
 - 
toBuilderpublic AppGrantedAppRoles.Builder toBuilder() 
 - 
getValuepublic String getValue() The id of an AppRole that is granted to this App.*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: true - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getRefpublic String getRef() The URI of an AppRole that is granted to this App.*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: reference - uniqueness: none - Returns:
- the value
 
 - 
getTypepublic AppGrantedAppRoles.Type getType() A label that indicates whether this AppRole was granted directly to the App (or indirectly through a Group).For an App, the value of this attribute will always be ‘direct’ (because an App cannot be a member of a Group). *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getDisplaypublic String getDisplay() The display-name of an AppRole that is granted to this App.*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getAppIdpublic String getAppId() The id of the App that defines this AppRole, which is granted to this App.The App that defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a consumer. *SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getAppNamepublic String getAppName() The name of the App that defines this AppRole, which is granted to this App.The App that defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a consumer. *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getAdminRolepublic Boolean getAdminRole() If true, then this granted AppRole confers administrative privileges within the App that defines it.Otherwise, the granted AppRole confers only functional privileges. *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none - Returns:
- the value
 
 - 
getLegacyGroupNamepublic String getLegacyGroupName() The name of the legacy group associated with this AppRole.*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getReadOnlypublic Boolean getReadOnly() If true, indicates that this value must be protected.*Added In:** 18.2.2 *SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: boolean - 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
 
 
- 
 
-