public CreateLaunchProfileRequest withLaunchProfileProtocolVersions(String... launchProfileProtocolVersions) {
        if (this.launchProfileProtocolVersions == null) {
            setLaunchProfileProtocolVersions(new java.util.ArrayList<String>(launchProfileProtocolVersions.length));
        }
        for (String ele : launchProfileProtocolVersions) {
            this.launchProfileProtocolVersions.add(ele);
        }
        return this;
    }
<p>
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLaunchProfileProtocolVersions(java.util.Collection)} or
{@link #withLaunchProfileProtocolVersions(java.util.Collection)} if you want to override the existing values.
</p>

@param launchProfileProtocolVersions
       The version number of the protocol that is used by the launch profile. The only valid version is
       "2021-03-31".
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-nimblestudio/src/main/java/com/amazonaws/services/nimblestudio/model/CreateLaunchProfileRequest.java