/** * <p> * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in * policies, see <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM * Identifiers</a> in the <i>Using IAM</i> guide. * </p> * * @param arn * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use * ARNs in policies, see <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM * Identifiers</a> in the <i>Using IAM</i> guide. * @return Returns a reference to this object so that method calls can be chained together. */ public User withArn(String arn) { setArn(arn); return this; }
/** * Constructs a new User object. Callers should use the setter or fluent setter (with...) methods to initialize any * additional object members. * * @param path * The path to the user. For more information about paths, see <a * href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM Identifiers</a> in the * <i>Using IAM</i> guide. * @param userName * The friendly name identifying the user. * @param userId * The stable and unique string identifying the user. For more information about IDs, see <a * href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM Identifiers</a> in the * <i>Using IAM</i> guide. * @param arn * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use * ARNs in policies, see <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM * Identifiers</a> in the <i>Using IAM</i> guide. * @param createDate * The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time format</a>, when the * user was created. */ public User(String path, String userName, String userId, String arn, java.util.Date createDate) { setPath(path); setUserName(userName); setUserId(userId); setArn(arn); setCreateDate(createDate); }
user.setArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
/** * <p> * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in * policies, see <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM * Identifiers</a> in the <i>Using IAM</i> guide. * </p> * * @param arn * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use * ARNs in policies, see <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM * Identifiers</a> in the <i>Using IAM</i> guide. * @return Returns a reference to this object so that method calls can be chained together. */ public User withArn(String arn) { setArn(arn); return this; }
/** * Constructs a new User object. Callers should use the setter or fluent setter (with...) methods to initialize any * additional object members. * * @param path * The path to the user. For more information about paths, see <a * href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM Identifiers</a> in the * <i>Using IAM</i> guide. * @param userName * The friendly name identifying the user. * @param userId * The stable and unique string identifying the user. For more information about IDs, see <a * href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM Identifiers</a> in the * <i>Using IAM</i> guide. * @param arn * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use * ARNs in policies, see <a href="http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">IAM * Identifiers</a> in the <i>Using IAM</i> guide. * @param createDate * The date and time, in <a href="http://www.iso.org/iso/iso8601">ISO 8601 date-time format</a>, when the * user was created. */ public User(String path, String userName, String userId, String arn, java.util.Date createDate) { setPath(path); setUserName(userName); setUserId(userId); setArn(arn); setCreateDate(createDate); }
user.setArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;