Package com.exoscale.sdk.model
Class IamServicePolicyRule
- java.lang.Object
-
- com.exoscale.sdk.model.IamServicePolicyRule
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class IamServicePolicyRule extends Object
IamServicePolicyRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IamServicePolicyRule.ActionEnum
Gets or Sets action
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_ACTION
static String
JSON_PROPERTY_EXPRESSION
static String
JSON_PROPERTY_RESOURCES
-
Constructor Summary
Constructors Constructor Description IamServicePolicyRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IamServicePolicyRule
action(IamServicePolicyRule.ActionEnum action)
IamServicePolicyRule
addResourcesItem(String resourcesItem)
boolean
equals(Object o)
Return true if this iam-service-policy-rule object is equal to o.IamServicePolicyRule
expression(String expression)
IamServicePolicyRule.ActionEnum
getAction()
Get actionString
getExpression()
Get expressionList<String>
getResources()
Get resourcesint
hashCode()
IamServicePolicyRule
resources(List<String> resources)
void
setAction(IamServicePolicyRule.ActionEnum action)
void
setExpression(String expression)
void
setResources(List<String> resources)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_ACTION
public static final String JSON_PROPERTY_ACTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPRESSION
public static final String JSON_PROPERTY_EXPRESSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESOURCES
public static final String JSON_PROPERTY_RESOURCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
action
public IamServicePolicyRule action(IamServicePolicyRule.ActionEnum action)
-
getAction
@Nullable public IamServicePolicyRule.ActionEnum getAction()
Get action- Returns:
- action
-
setAction
public void setAction(IamServicePolicyRule.ActionEnum action)
-
expression
public IamServicePolicyRule expression(String expression)
-
getExpression
@Nullable public String getExpression()
Get expression- Returns:
- expression
-
setExpression
public void setExpression(String expression)
-
resources
public IamServicePolicyRule resources(List<String> resources)
-
addResourcesItem
public IamServicePolicyRule addResourcesItem(String resourcesItem)
-
equals
public boolean equals(Object o)
Return true if this iam-service-policy-rule object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-