public void setRole(Role role) {
        this.role = role;
    }
<p>
A structure containing details about the new role.
</p>

@param role
       A structure containing details about the new role.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/CreateRoleResult.java