Class GetInstanceProfileResult
- java.lang.Object
-
- com.amazonaws.services.identitymanagement.model.GetInstanceProfileResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetInstanceProfileResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetInstanceProfile request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetInstanceProfileResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetInstanceProfileResult
clone()
boolean
equals(Object obj)
InstanceProfile
getInstanceProfile()
A structure containing details about the instance profile.int
hashCode()
void
setInstanceProfile(InstanceProfile instanceProfile)
A structure containing details about the instance profile.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetInstanceProfileResult
withInstanceProfile(InstanceProfile instanceProfile)
A structure containing details about the instance profile.
-
-
-
Method Detail
-
setInstanceProfile
public void setInstanceProfile(InstanceProfile instanceProfile)
A structure containing details about the instance profile.
- Parameters:
instanceProfile
- A structure containing details about the instance profile.
-
getInstanceProfile
public InstanceProfile getInstanceProfile()
A structure containing details about the instance profile.
- Returns:
- A structure containing details about the instance profile.
-
withInstanceProfile
public GetInstanceProfileResult withInstanceProfile(InstanceProfile instanceProfile)
A structure containing details about the instance profile.
- Parameters:
instanceProfile
- A structure containing details about the instance profile.- 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 GetInstanceProfileResult clone()
-
-