Package com.exoscale.sdk.model
Class UpdateIamRoleRequest
- java.lang.Object
-
- com.exoscale.sdk.model.UpdateIamRoleRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class UpdateIamRoleRequest extends Object
UpdateIamRoleRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateIamRoleRequest.PermissionsEnum
Gets or Sets permissions
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_LABELS
static String
JSON_PROPERTY_PERMISSIONS
-
Constructor Summary
Constructors Constructor Description UpdateIamRoleRequest()
-
Method Summary
-
-
-
Field Detail
-
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
-
-
Method Detail
-
description
public UpdateIamRoleRequest description(String description)
-
getDescription
@Nullable public String getDescription()
IAM Role description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
permissions
public UpdateIamRoleRequest permissions(Set<UpdateIamRoleRequest.PermissionsEnum> permissions)
-
addPermissionsItem
public UpdateIamRoleRequest addPermissionsItem(UpdateIamRoleRequest.PermissionsEnum permissionsItem)
-
getPermissions
@Nullable public Set<UpdateIamRoleRequest.PermissionsEnum> getPermissions()
IAM Role permissions- Returns:
- permissions
-
setPermissions
public void setPermissions(Set<UpdateIamRoleRequest.PermissionsEnum> permissions)
-
labels
public UpdateIamRoleRequest labels(Map<String,String> labels)
-
putLabelsItem
public UpdateIamRoleRequest putLabelsItem(String key, String labelsItem)
-
equals
public boolean equals(Object o)
Return true if this update_iam_role_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-