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.ExplicitlySetBmcModel
A 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 Summary
Nested Classes Modifier and Type Class Description static class
AppGrantedAppRoles.Builder
static class
AppGrantedAppRoles.Type
A label that indicates whether this AppRole was granted directly to the App (or indirectly through a Group).
-
Constructor Summary
Constructors Constructor Description AppGrantedAppRoles(String value, String ref, AppGrantedAppRoles.Type type, String display, String appId, String appName, Boolean adminRole, String legacyGroupName, Boolean readOnly)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppGrantedAppRoles.Builder
builder()
Create a new builder.boolean
equals(Object o)
Boolean
getAdminRole()
If true, then this granted AppRole confers administrative privileges within the App that defines it.String
getAppId()
The id of the App that defines this AppRole, which is granted to this App.String
getAppName()
The name of the App that defines this AppRole, which is granted to this App.String
getDisplay()
The display-name of an AppRole that is granted to this App.String
getLegacyGroupName()
The name of the legacy group associated with this AppRole.Boolean
getReadOnly()
If true, indicates that this value must be protected.String
getRef()
The URI of an AppRole that is granted to this App.AppGrantedAppRoles.Type
getType()
A label that indicates whether this AppRole was granted directly to the App (or indirectly through a Group).String
getValue()
The id of an AppRole that is granted to this App.int
hashCode()
AppGrantedAppRoles.Builder
toBuilder()
String
toString()
String
toString(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
-
builder
public static AppGrantedAppRoles.Builder builder()
Create a new builder.
-
toBuilder
public AppGrantedAppRoles.Builder toBuilder()
-
getValue
public 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
-
getRef
public 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
-
getType
public 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
-
getDisplay
public 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
-
getAppId
public 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
-
getAppName
public 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
-
getAdminRole
public 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
-
getLegacyGroupName
public 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
-
getReadOnly
public 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
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-