@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetInstanceProfileResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetInstanceProfileResult() |
Modifier and Type | Method and Description |
---|---|
GetInstanceProfileResult |
clone() |
boolean |
equals(Object obj) |
InstanceProfile |
getInstanceProfile()
An object that contains information about an instance profile.
|
int |
hashCode() |
void |
setInstanceProfile(InstanceProfile instanceProfile)
An object that contains information about an instance profile.
|
String |
toString()
Returns a string representation of this object.
|
GetInstanceProfileResult |
withInstanceProfile(InstanceProfile instanceProfile)
An object that contains information about an instance profile.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInstanceProfile(InstanceProfile instanceProfile)
An object that contains information about an instance profile.
instanceProfile
- An object that contains information about an instance profile.public InstanceProfile getInstanceProfile()
An object that contains information about an instance profile.
public GetInstanceProfileResult withInstanceProfile(InstanceProfile instanceProfile)
An object that contains information about an instance profile.
instanceProfile
- An object that contains information about an instance profile.public String toString()
toString
in class Object
Object.toString()
public GetInstanceProfileResult clone()