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 ScheduledInstancesIamInstanceProfileclone()booleanequals(Object obj)StringgetArn()The Amazon Resource Name (ARN).StringgetName()The name.inthashCode()voidsetArn(String arn)The Amazon Resource Name (ARN).voidsetName(String name)The name.StringtoString()Returns a string representation of this object; useful for testing and debugging.ScheduledInstancesIamInstanceProfilewithArn(String arn)The Amazon Resource Name (ARN).ScheduledInstancesIamInstanceProfilewithName(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduledInstancesIamInstanceProfile clone()
-
-