/** * <p> * The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use * them 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) specifying the instance profile. For more information about ARNs and how to * use them 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 InstanceProfile withArn(String arn) { setArn(arn); return this; }
instanceProfile.setArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
/** * <p> * The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use * them 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) specifying the instance profile. For more information about ARNs and how to * use them 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 InstanceProfile withArn(String arn) { setArn(arn); return this; }
instanceProfile.setArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;