Package com.amazonaws.services.ec2.model
Class IamInstanceProfileSpecification
java.lang.Object
com.amazonaws.services.ec2.model.IamInstanceProfileSpecification
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an IAM instance profile.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The Amazon Resource Name (ARN) of the instance profile.getName()
The name of the instance profile.int
hashCode()
void
The Amazon Resource Name (ARN) of the instance profile.void
The name of the instance profile.toString()
Returns a string representation of this object; useful for testing and debugging.The Amazon Resource Name (ARN) of the instance profile.The name of the instance profile.
-
Constructor Details
-
IamInstanceProfileSpecification
public IamInstanceProfileSpecification()
-
-
Method Details
-
setArn
The Amazon Resource Name (ARN) of the instance profile.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the instance profile.
-
getArn
The Amazon Resource Name (ARN) of the instance profile.
- Returns:
- The Amazon Resource Name (ARN) of the instance profile.
-
withArn
The Amazon Resource Name (ARN) of the instance profile.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The name of the instance profile.
- Parameters:
name
- The name of the instance profile.
-
getName
The name of the instance profile.
- Returns:
- The name of the instance profile.
-
withName
The name of the instance profile.
- Parameters:
name
- The name of the instance profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-