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 interface
IamIdentity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
arn()
The Amazon Resource Name (ARN) of the IAM identity.static IamIdentity.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
principalId()
The ID of the principal that assumes the IAM identity.List<SdkField<?>>
sdkFields()
static Class<? extends IamIdentity.Builder>
serializableBuilderClass()
String
sourceIdentity()
The person or application which assumes the IAM identity.IamIdentity.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-