Class IamIdentity
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.IamIdentity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IamIdentity.Builder,IamIdentity>
@Generated("software.amazon.awssdk:codegen") public final class IamIdentity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IamIdentity.Builder,IamIdentity>
The IAM Identity details associated with the user. These details are associated with model package groups, model packages and project entities only.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIamIdentity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the IAM identity.static IamIdentity.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprincipalId()The ID of the principal that assumes the IAM identity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IamIdentity.Builder>serializableBuilderClass()StringsourceIdentity()The person or application which assumes the IAM identity.IamIdentity.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the IAM identity.
- Returns:
- The Amazon Resource Name (ARN) of the IAM identity.
-
principalId
public final String principalId()
The ID of the principal that assumes the IAM identity.
- Returns:
- The ID of the principal that assumes the IAM identity.
-
sourceIdentity
public final String sourceIdentity()
The person or application which assumes the IAM identity.
- Returns:
- The person or application which assumes the IAM identity.
-
toBuilder
public IamIdentity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IamIdentity.Builder,IamIdentity>
-
builder
public static IamIdentity.Builder builder()
-
serializableBuilderClass
public static Class<? extends IamIdentity.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-