Class ServiceAccountSummary
- java.lang.Object
-
- software.amazon.awssdk.services.grafana.model.ServiceAccountSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceAccountSummary.Builder,ServiceAccountSummary>
@Generated("software.amazon.awssdk:codegen") public final class ServiceAccountSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceAccountSummary.Builder,ServiceAccountSummary>
A structure that contains the information about one service account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceAccountSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceAccountSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)RolegrafanaRole()The role of the service account, which sets the permission level used when calling Grafana APIs.StringgrafanaRoleAsString()The role of the service account, which sets the permission level used when calling Grafana APIs.inthashCode()Stringid()The unique ID of the service account.StringisDisabled()Returns true if the service account is disabled.Stringname()The name of the service account.List<SdkField<?>>sdkFields()static Class<? extends ServiceAccountSummary.Builder>serializableBuilderClass()ServiceAccountSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
grafanaRole
public final Role grafanaRole()
The role of the service account, which sets the permission level used when calling Grafana APIs.
If the service returns an enum value that is not available in the current SDK version,
grafanaRolewill returnRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgrafanaRoleAsString().- Returns:
- The role of the service account, which sets the permission level used when calling Grafana APIs.
- See Also:
Role
-
grafanaRoleAsString
public final String grafanaRoleAsString()
The role of the service account, which sets the permission level used when calling Grafana APIs.
If the service returns an enum value that is not available in the current SDK version,
grafanaRolewill returnRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromgrafanaRoleAsString().- Returns:
- The role of the service account, which sets the permission level used when calling Grafana APIs.
- See Also:
Role
-
id
public final String id()
The unique ID of the service account.
- Returns:
- The unique ID of the service account.
-
isDisabled
public final String isDisabled()
Returns true if the service account is disabled. Service accounts can be disabled and enabled in the Amazon Managed Grafana console.
- Returns:
- Returns true if the service account is disabled. Service accounts can be disabled and enabled in the Amazon Managed Grafana console.
-
name
public final String name()
The name of the service account.
- Returns:
- The name of the service account.
-
toBuilder
public ServiceAccountSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceAccountSummary.Builder,ServiceAccountSummary>
-
builder
public static ServiceAccountSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceAccountSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-