Class AwsIamAccessKeySessionContextSessionIssuer
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsIamAccessKeySessionContextSessionIssuer
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsIamAccessKeySessionContextSessionIssuer.Builder,AwsIamAccessKeySessionContextSessionIssuer>
@Generated("software.amazon.awssdk:codegen") public final class AwsIamAccessKeySessionContextSessionIssuer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsIamAccessKeySessionContextSessionIssuer.Builder,AwsIamAccessKeySessionContextSessionIssuer>
Information about the entity that created the session.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsIamAccessKeySessionContextSessionIssuer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The identifier of the Amazon Web Services account that created the session.Stringarn()The ARN of the session.static AwsIamAccessKeySessionContextSessionIssuer.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprincipalId()The principal ID of the principal (user, role, or group) that created the session.List<SdkField<?>>sdkFields()static Class<? extends AwsIamAccessKeySessionContextSessionIssuer.Builder>serializableBuilderClass()AwsIamAccessKeySessionContextSessionIssuer.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of principal (user, role, or group) that created the session.StringuserName()The name of the principal that created the session.-
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
-
type
public final String type()
The type of principal (user, role, or group) that created the session.
- Returns:
- The type of principal (user, role, or group) that created the session.
-
principalId
public final String principalId()
The principal ID of the principal (user, role, or group) that created the session.
- Returns:
- The principal ID of the principal (user, role, or group) that created the session.
-
arn
public final String arn()
The ARN of the session.
- Returns:
- The ARN of the session.
-
accountId
public final String accountId()
The identifier of the Amazon Web Services account that created the session.
- Returns:
- The identifier of the Amazon Web Services account that created the session.
-
userName
public final String userName()
The name of the principal that created the session.
- Returns:
- The name of the principal that created the session.
-
toBuilder
public AwsIamAccessKeySessionContextSessionIssuer.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsIamAccessKeySessionContextSessionIssuer.Builder,AwsIamAccessKeySessionContextSessionIssuer>
-
builder
public static AwsIamAccessKeySessionContextSessionIssuer.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsIamAccessKeySessionContextSessionIssuer.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.
-
-