@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RoleCreateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RECEIVES_PERMISSIONS_FROM |
boolean |
unparsed |
| Constructor and Description |
|---|
RoleCreateAttributes() |
RoleCreateAttributes(String name) |
| Modifier and Type | Method and Description |
|---|---|
RoleCreateAttributes |
addReceivesPermissionsFromItem(String receivesPermissionsFromItem) |
boolean |
equals(Object o)
Return true if this RoleCreateAttributes 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.
|
OffsetDateTime |
getCreatedAt()
Creation time of the role.
|
OffsetDateTime |
getModifiedAt()
Time of last role modification.
|
String |
getName()
Name of the role.
|
List<String> |
getReceivesPermissionsFrom()
The managed role from which this role automatically inherits new permissions.
|
int |
hashCode() |
RoleCreateAttributes |
name(String name) |
RoleCreateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RoleCreateAttributes |
receivesPermissionsFrom(List<String> receivesPermissionsFrom) |
void |
setName(String name) |
void |
setReceivesPermissionsFrom(List<String> receivesPermissionsFrom) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RECEIVES_PERMISSIONS_FROM
public RoleCreateAttributes()
public RoleCreateAttributes(String name)
@Nullable public OffsetDateTime getCreatedAt()
@Nullable public OffsetDateTime getModifiedAt()
public RoleCreateAttributes name(String name)
public String getName()
public void setName(String name)
public RoleCreateAttributes receivesPermissionsFrom(List<String> receivesPermissionsFrom)
public RoleCreateAttributes addReceivesPermissionsFromItem(String receivesPermissionsFromItem)
@Nullable public List<String> getReceivesPermissionsFrom()
public void setReceivesPermissionsFrom(List<String> receivesPermissionsFrom)
public RoleCreateAttributes 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 © 2026. All rights reserved.