Package com.amazonaws.services.ec2.model
Class ScheduledInstancesIamInstanceProfile
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ScheduledInstancesIamInstanceProfile
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ScheduledInstancesIamInstanceProfile extends Object implements Serializable, Cloneable
Describes an IAM instance profile for a Scheduled Instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduledInstancesIamInstanceProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setArn
public void setArn(String arn)
The Amazon Resource Name (ARN).
- Parameters:
arn
- The Amazon Resource Name (ARN).
-
getArn
public String getArn()
The Amazon Resource Name (ARN).
- Returns:
- The Amazon Resource Name (ARN).
-
withArn
public ScheduledInstancesIamInstanceProfile withArn(String arn)
The Amazon Resource Name (ARN).
- Parameters:
arn
- The Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The name.
- Parameters:
name
- The name.
-
getName
public String getName()
The name.
- Returns:
- The name.
-
withName
public ScheduledInstancesIamInstanceProfile withName(String name)
The name.
- Parameters:
name
- The name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduledInstancesIamInstanceProfile clone()
-
-