public KernelGatewayAppSettings withLifecycleConfigArns(String... lifecycleConfigArns) {
        if (this.lifecycleConfigArns == null) {
            setLifecycleConfigArns(new java.util.ArrayList<String>(lifecycleConfigArns.length));
        }
        for (String ele : lifecycleConfigArns) {
            this.lifecycleConfigArns.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.
</p>
<note>
<p>
To remove a Lifecycle Config, you must set <code>LifecycleConfigArns</code> to an empty list.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLifecycleConfigArns(java.util.Collection)} or {@link #withLifecycleConfigArns(java.util.Collection)}
if you want to override the existing values.
</p>

@param lifecycleConfigArns
       The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or
       domain.</p> <note>
       <p>
       To remove a Lifecycle Config, you must set <code>LifecycleConfigArns</code> to an empty list.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/KernelGatewayAppSettings.java