Package com.exoscale.sdk.model
Class IamRole
- java.lang.Object
-
- com.exoscale.sdk.model.IamRole
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class IamRole extends Object
IAM Role
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IamRole.PermissionsEnum
Gets or Sets permissions
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_EDITABLE
static String
JSON_PROPERTY_ID
static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PERMISSIONS
static String
JSON_PROPERTY_POLICY
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PERMISSIONS
public static final String JSON_PROPERTY_PERMISSIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EDITABLE
public static final String JSON_PROPERTY_EDITABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_POLICY
public static final String JSON_PROPERTY_POLICY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IamRole
public IamRole()
-
IamRole
public IamRole(UUID id)
-
-
Method Detail
-
getId
@Nullable public UUID getId()
IAM Role ID- Returns:
- id
-
getName
@Nullable public String getName()
IAM Role name- Returns:
- name
-
setName
public void setName(String name)
-
getDescription
@Nullable public String getDescription()
IAM Role description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
permissions
public IamRole permissions(Set<IamRole.PermissionsEnum> permissions)
-
addPermissionsItem
public IamRole addPermissionsItem(IamRole.PermissionsEnum permissionsItem)
-
getPermissions
@Nullable public Set<IamRole.PermissionsEnum> getPermissions()
IAM Role permissions- Returns:
- permissions
-
setPermissions
public void setPermissions(Set<IamRole.PermissionsEnum> permissions)
-
getEditable
@Nullable public Boolean getEditable()
IAM Role mutability- Returns:
- editable
-
setEditable
public void setEditable(Boolean editable)
-
getPolicy
@Nullable public IamPolicy getPolicy()
Get policy- Returns:
- policy
-
setPolicy
public void setPolicy(IamPolicy policy)
-
equals
public boolean equals(Object o)
Return true if this iam-role object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-