Class IamInstanceProfileSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.IamInstanceProfileSpecification
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<IamInstanceProfileSpecification.Builder,IamInstanceProfileSpecification>
@Generated("software.amazon.awssdk:codegen") public final class IamInstanceProfileSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IamInstanceProfileSpecification.Builder,IamInstanceProfileSpecification>
Describes an IAM instance profile.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IamInstanceProfileSpecification.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 instance profile.static IamInstanceProfileSpecification.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
name()
The name of the instance profile.List<SdkField<?>>
sdkFields()
static Class<? extends IamInstanceProfileSpecification.Builder>
serializableBuilderClass()
IamInstanceProfileSpecification.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 instance profile.
- Returns:
- The Amazon Resource Name (ARN) of the instance profile.
-
name
public final String name()
The name of the instance profile.
- Returns:
- The name of the instance profile.
-
toBuilder
public IamInstanceProfileSpecification.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<IamInstanceProfileSpecification.Builder,IamInstanceProfileSpecification>
-
builder
public static IamInstanceProfileSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends IamInstanceProfileSpecification.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.
-
-