public UpdateStackRequest withDefaultInstanceProfileArn(String defaultInstanceProfileArn) {
        setDefaultInstanceProfileArn(defaultInstanceProfileArn);
        return this;
    }
<p>
The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more information
about IAM ARNs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">Using
Identifiers</a>.
</p>

@param defaultInstanceProfileArn
       The ARN of an IAM profile that is the default profile for all of the stack's EC2 instances. For more
       information about IAM ARNs, see <a
       href="https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html">Using Identifiers</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/UpdateStackRequest.java