@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceAccountSummary extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the information about one service account.
Constructor and Description |
---|
ServiceAccountSummary() |
Modifier and Type | Method and Description |
---|---|
ServiceAccountSummary |
clone() |
boolean |
equals(Object obj) |
String |
getGrafanaRole()
The role of the service account, which sets the permission level used when calling Grafana APIs.
|
String |
getId()
The unique ID of the service account.
|
String |
getIsDisabled()
Returns true if the service account is disabled.
|
String |
getName()
The name of the service account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGrafanaRole(String grafanaRole)
The role of the service account, which sets the permission level used when calling Grafana APIs.
|
void |
setId(String id)
The unique ID of the service account.
|
void |
setIsDisabled(String isDisabled)
Returns true if the service account is disabled.
|
void |
setName(String name)
The name of the service account.
|
String |
toString()
Returns a string representation of this object.
|
ServiceAccountSummary |
withGrafanaRole(Role grafanaRole)
The role of the service account, which sets the permission level used when calling Grafana APIs.
|
ServiceAccountSummary |
withGrafanaRole(String grafanaRole)
The role of the service account, which sets the permission level used when calling Grafana APIs.
|
ServiceAccountSummary |
withId(String id)
The unique ID of the service account.
|
ServiceAccountSummary |
withIsDisabled(String isDisabled)
Returns true if the service account is disabled.
|
ServiceAccountSummary |
withName(String name)
The name of the service account.
|
public void setGrafanaRole(String grafanaRole)
The role of the service account, which sets the permission level used when calling Grafana APIs.
grafanaRole
- The role of the service account, which sets the permission level used when calling Grafana APIs.Role
public String getGrafanaRole()
The role of the service account, which sets the permission level used when calling Grafana APIs.
Role
public ServiceAccountSummary withGrafanaRole(String grafanaRole)
The role of the service account, which sets the permission level used when calling Grafana APIs.
grafanaRole
- The role of the service account, which sets the permission level used when calling Grafana APIs.Role
public ServiceAccountSummary withGrafanaRole(Role grafanaRole)
The role of the service account, which sets the permission level used when calling Grafana APIs.
grafanaRole
- The role of the service account, which sets the permission level used when calling Grafana APIs.Role
public void setId(String id)
The unique ID of the service account.
id
- The unique ID of the service account.public String getId()
The unique ID of the service account.
public ServiceAccountSummary withId(String id)
The unique ID of the service account.
id
- The unique ID of the service account.public void setIsDisabled(String isDisabled)
Returns true if the service account is disabled. Service accounts can be disabled and enabled in the Amazon Managed Grafana console.
isDisabled
- Returns true if the service account is disabled. Service accounts can be disabled and enabled in the
Amazon Managed Grafana console.public String getIsDisabled()
Returns true if the service account is disabled. Service accounts can be disabled and enabled in the Amazon Managed Grafana console.
public ServiceAccountSummary withIsDisabled(String isDisabled)
Returns true if the service account is disabled. Service accounts can be disabled and enabled in the Amazon Managed Grafana console.
isDisabled
- Returns true if the service account is disabled. Service accounts can be disabled and enabled in the
Amazon Managed Grafana console.public void setName(String name)
The name of the service account.
name
- The name of the service account.public String getName()
The name of the service account.
public ServiceAccountSummary withName(String name)
The name of the service account.
name
- The name of the service account.public String toString()
toString
in class Object
Object.toString()
public ServiceAccountSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.