@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AWSAssumeRole extends Object
AWSAssumeRole object.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACCOUNT_ID |
static String |
JSON_PROPERTY_EXTERNAL_ID |
static String |
JSON_PROPERTY_PRINCIPAL_ID |
static String |
JSON_PROPERTY_ROLE |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
AWSAssumeRole() |
AWSAssumeRole(String accountId,
String role,
AWSAssumeRoleType type) |
| Modifier and Type | Method and Description |
|---|---|
AWSAssumeRole |
accountId(String accountId) |
boolean |
equals(Object o)
Return true if this AWSAssumeRole object is equal to o.
|
String |
getAccountId()
AWS account the connection is created for
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getExternalId()
External ID used to scope which connection can be used to assume the role
|
String |
getPrincipalId()
AWS account that will assume the role
|
String |
getRole()
Role to assume
|
AWSAssumeRoleType |
getType()
The definition of
AWSAssumeRoleType object. |
int |
hashCode() |
AWSAssumeRole |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AWSAssumeRole |
role(String role) |
void |
setAccountId(String accountId) |
void |
setRole(String role) |
void |
setType(AWSAssumeRoleType type) |
String |
toString() |
AWSAssumeRole |
type(AWSAssumeRoleType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ACCOUNT_ID
public static final String JSON_PROPERTY_EXTERNAL_ID
public static final String JSON_PROPERTY_PRINCIPAL_ID
public static final String JSON_PROPERTY_ROLE
public static final String JSON_PROPERTY_TYPE
public AWSAssumeRole()
public AWSAssumeRole(String accountId, String role, AWSAssumeRoleType type)
public AWSAssumeRole accountId(String accountId)
public String getAccountId()
public void setAccountId(String accountId)
@Nullable public String getExternalId()
@Nullable public String getPrincipalId()
public AWSAssumeRole role(String role)
public String getRole()
public void setRole(String role)
public AWSAssumeRole type(AWSAssumeRoleType type)
public AWSAssumeRoleType getType()
AWSAssumeRoleType object.public void setType(AWSAssumeRoleType type)
public AWSAssumeRole 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 © 2025. All rights reserved.