@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setArn(String arn)
The Amazon Resource Name (ARN).
arn
- The Amazon Resource Name (ARN).public String getArn()
The Amazon Resource Name (ARN).
public ScheduledInstancesIamInstanceProfile withArn(String arn)
The Amazon Resource Name (ARN).
arn
- The Amazon Resource Name (ARN).public void setName(String name)
The name.
name
- The name.public String getName()
The name.
public ScheduledInstancesIamInstanceProfile withName(String name)
The name.
name
- The name.public String toString()
toString
in class Object
Object.toString()
public ScheduledInstancesIamInstanceProfile clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.