@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2LaunchTemplateDataIamInstanceProfileDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder,AwsEc2LaunchTemplateDataIamInstanceProfileDetails>
Provides details for an Identity and Access Management (IAM) instance profile, which is a container for an IAM role for your instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the instance profile.
|
static AwsEc2LaunchTemplateDataIamInstanceProfileDetails.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 AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder> |
serializableBuilderClass() |
AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the instance profile.
public final String name()
The name of the instance profile.
public AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder toBuilder()
public static AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder builder()
public static Class<? extends AwsEc2LaunchTemplateDataIamInstanceProfileDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.