public class ScheduledInstancesIamInstanceProfile extends Object implements Serializable, Cloneable
Describes an IAM instance profile for a Scheduled Instance.
| Constructor and Description |
|---|
ScheduledInstancesIamInstanceProfile() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledInstancesIamInstanceProfile |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN).
|
String |
getName()
The name.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN).
|
void |
setName(String name)
The name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduledInstancesIamInstanceProfile |
withArn(String arn)
The Amazon Resource Name (ARN).
|
ScheduledInstancesIamInstanceProfile |
withName(String name)
The name.
|
public ScheduledInstancesIamInstanceProfile()
public String getArn()
public void setArn(String arn)
arn - The Amazon Resource Name (ARN).public ScheduledInstancesIamInstanceProfile withArn(String arn)
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN).public String getName()
public void setName(String name)
name - The name.public ScheduledInstancesIamInstanceProfile withName(String name)
Returns a reference to this object so that method calls can be chained together.
name - The name.public String toString()
toString in class ObjectObject.toString()public ScheduledInstancesIamInstanceProfile clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.