Class RoleDefinition

java.lang.Object
com.dtsx.astra.sdk.org.domain.RoleDefinition

public class RoleDefinition extends Object
Matching expected object to create a role.
Author:
Cedrick LUNVEN (@clunven)
  • Method Details

    • builder

      public static RoleDefinition.RoleDefinitionBuilder builder(String orgId)
      Pattern builder.
      Parameters:
      orgId - organiization identifiier
      Returns:
      builder
    • getName

      public String getName()
      Getter accessor for attribute 'name'.
      Returns:
      current value of 'name'
    • getPolicy

      public RolePolicy getPolicy()
      Getter accessor for attribute 'policy'.
      Returns:
      current value of 'policy'
    • setName

      public void setName(String name)
      Setter accessor for attribute 'name'.
      Parameters:
      name - new value for 'name '