public LakeFormationConfiguration withLocationRegistrationExcludeS3Locations(String... locationRegistrationExcludeS3Locations) {
        if (this.locationRegistrationExcludeS3Locations == null) {
            setLocationRegistrationExcludeS3Locations(new java.util.ArrayList<String>(locationRegistrationExcludeS3Locations.length));
        }
        for (String ele : locationRegistrationExcludeS3Locations) {
            this.locationRegistrationExcludeS3Locations.add(ele);
        }
        return this;
    }
<p>
Specifies certain Amazon S3 locations if you do not want Amazon DataZone to automatically register them in hybrid
mode.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLocationRegistrationExcludeS3Locations(java.util.Collection)} or
{@link #withLocationRegistrationExcludeS3Locations(java.util.Collection)} if you want to override the existing
values.
</p>

@param locationRegistrationExcludeS3Locations
       Specifies certain Amazon S3 locations if you do not want Amazon DataZone to automatically register them in
       hybrid mode.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/LakeFormationConfiguration.java