public GetServicesInScopeResult withServiceMetadata(ServiceMetadata... serviceMetadata) {
        if (this.serviceMetadata == null) {
            setServiceMetadata(new java.util.ArrayList<ServiceMetadata>(serviceMetadata.length));
        }
        for (ServiceMetadata ele : serviceMetadata) {
            this.serviceMetadata.add(ele);
        }
        return this;
    }
<p>
The metadata that's associated with the Amazon Web Service.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setServiceMetadata(java.util.Collection)} or {@link #withServiceMetadata(java.util.Collection)} if you
want to override the existing values.
</p>

@param serviceMetadata
       The metadata that's associated with the Amazon Web Service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/GetServicesInScopeResult.java