@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RestrictionPolicyBinding extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_PRINCIPALS |
static String |
JSON_PROPERTY_RELATION |
boolean |
unparsed |
| Constructor and Description |
|---|
RestrictionPolicyBinding() |
RestrictionPolicyBinding(List<String> principals,
String relation) |
| Modifier and Type | Method and Description |
|---|---|
RestrictionPolicyBinding |
addPrincipalsItem(String principalsItem) |
boolean |
equals(Object o)
Return true if this RestrictionPolicyBinding object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<String> |
getPrincipals()
An array of principals.
|
String |
getRelation()
The role/level of access.
|
int |
hashCode() |
RestrictionPolicyBinding |
principals(List<String> principals) |
RestrictionPolicyBinding |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RestrictionPolicyBinding |
relation(String relation) |
void |
setPrincipals(List<String> principals) |
void |
setRelation(String relation) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_PRINCIPALS
public static final String JSON_PROPERTY_RELATION
public RestrictionPolicyBinding principals(List<String> principals)
public RestrictionPolicyBinding addPrincipalsItem(String principalsItem)
public List<String> getPrincipals()
type:id. Supported types: role, team,
user, and org. The org ID can be obtained through the
api/v2/current_user API. The user principal type accepts service account IDs.public RestrictionPolicyBinding relation(String relation)
public String getRelation()
public void setRelation(String relation)
public RestrictionPolicyBinding putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.