@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateIamInstanceProfileSpecificationRequest extends Object implements Serializable, Cloneable
An IAM instance profile.
| Constructor and Description |
|---|
LaunchTemplateIamInstanceProfileSpecificationRequest() |
| Modifier and Type | Method and Description |
|---|---|
LaunchTemplateIamInstanceProfileSpecificationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the instance profile.
|
String |
getName()
The name of the instance profile.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
void |
setName(String name)
The name of the instance profile.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateIamInstanceProfileSpecificationRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
LaunchTemplateIamInstanceProfileSpecificationRequest |
withName(String name)
The name of the instance profile.
|
public LaunchTemplateIamInstanceProfileSpecificationRequest()
public void setArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn - The Amazon Resource Name (ARN) of the instance profile.public String getArn()
The Amazon Resource Name (ARN) of the instance profile.
public LaunchTemplateIamInstanceProfileSpecificationRequest withArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn - The Amazon Resource Name (ARN) of the instance profile.public void setName(String name)
The name of the instance profile.
name - The name of the instance profile.public String getName()
The name of the instance profile.
public LaunchTemplateIamInstanceProfileSpecificationRequest withName(String name)
The name of the instance profile.
name - The name of the instance profile.public String toString()
toString in class ObjectObject.toString()public LaunchTemplateIamInstanceProfileSpecificationRequest clone()