@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ServiceAccountAccessTokenCreateAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_EXPIRES_AT |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_SCOPES |
boolean |
unparsed |
| Constructor and Description |
|---|
ServiceAccountAccessTokenCreateAttributes() |
ServiceAccountAccessTokenCreateAttributes(String name,
List<String> scopes) |
| Modifier and Type | Method and Description |
|---|---|
ServiceAccountAccessTokenCreateAttributes |
addScopesItem(String scopesItem) |
boolean |
equals(Object o)
Return true if this ServiceAccountAccessTokenCreateAttributes object is equal to o.
|
ServiceAccountAccessTokenCreateAttributes |
expiresAt(OffsetDateTime expiresAt) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
OffsetDateTime |
getExpiresAt()
Expiration date of the access token.
|
String |
getName()
Name of the access token.
|
List<String> |
getScopes()
Array of scopes to grant the access token.
|
int |
hashCode() |
ServiceAccountAccessTokenCreateAttributes |
name(String name) |
ServiceAccountAccessTokenCreateAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ServiceAccountAccessTokenCreateAttributes |
scopes(List<String> scopes) |
void |
setExpiresAt(OffsetDateTime expiresAt) |
void |
setName(String name) |
void |
setScopes(List<String> scopes) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_EXPIRES_AT
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_SCOPES
public ServiceAccountAccessTokenCreateAttributes()
public ServiceAccountAccessTokenCreateAttributes expiresAt(OffsetDateTime expiresAt)
@Nullable public OffsetDateTime getExpiresAt()
public void setExpiresAt(OffsetDateTime expiresAt)
public ServiceAccountAccessTokenCreateAttributes name(String name)
public String getName()
public void setName(String name)
public ServiceAccountAccessTokenCreateAttributes scopes(List<String> scopes)
public ServiceAccountAccessTokenCreateAttributes addScopesItem(String scopesItem)
public List<String> getScopes()
public ServiceAccountAccessTokenCreateAttributes 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.