Class ServiceAccountTokenSummary
- java.lang.Object
-
- software.amazon.awssdk.services.grafana.model.ServiceAccountTokenSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceAccountTokenSummary.Builder,ServiceAccountTokenSummary>
@Generated("software.amazon.awssdk:codegen") public final class ServiceAccountTokenSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceAccountTokenSummary.Builder,ServiceAccountTokenSummary>
A structure that contains the information about a service account token.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceAccountTokenSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceAccountTokenSummary.Builderbuilder()InstantcreatedAt()When the service account token was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpiresAt()When the service account token will expire.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique ID of the service account token.InstantlastUsedAt()The last time the token was used to authorize a Grafana HTTP API.Stringname()The name of the service account token.List<SdkField<?>>sdkFields()static Class<? extends ServiceAccountTokenSummary.Builder>serializableBuilderClass()ServiceAccountTokenSummary.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
-
createdAt
public final Instant createdAt()
When the service account token was created.
- Returns:
- When the service account token was created.
-
expiresAt
public final Instant expiresAt()
When the service account token will expire.
- Returns:
- When the service account token will expire.
-
id
public final String id()
The unique ID of the service account token.
- Returns:
- The unique ID of the service account token.
-
lastUsedAt
public final Instant lastUsedAt()
The last time the token was used to authorize a Grafana HTTP API.
- Returns:
- The last time the token was used to authorize a Grafana HTTP API.
-
name
public final String name()
The name of the service account token.
- Returns:
- The name of the service account token.
-
toBuilder
public ServiceAccountTokenSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceAccountTokenSummary.Builder,ServiceAccountTokenSummary>
-
builder
public static ServiceAccountTokenSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceAccountTokenSummary.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.
-
-