Class LaunchTemplateIamInstanceProfileSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.LaunchTemplateIamInstanceProfileSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchTemplateIamInstanceProfileSpecification.Builder,LaunchTemplateIamInstanceProfileSpecification>
@Generated("software.amazon.awssdk:codegen") public final class LaunchTemplateIamInstanceProfileSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateIamInstanceProfileSpecification.Builder,LaunchTemplateIamInstanceProfileSpecification>
Describes an IAM instance profile.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLaunchTemplateIamInstanceProfileSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the instance profile.static LaunchTemplateIamInstanceProfileSpecification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the instance profile.List<SdkField<?>>sdkFields()static Class<? extends LaunchTemplateIamInstanceProfileSpecification.Builder>serializableBuilderClass()LaunchTemplateIamInstanceProfileSpecification.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 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 LaunchTemplateIamInstanceProfileSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchTemplateIamInstanceProfileSpecification.Builder,LaunchTemplateIamInstanceProfileSpecification>
-
builder
public static LaunchTemplateIamInstanceProfileSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchTemplateIamInstanceProfileSpecification.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.
-
-