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