public CloudTrailProperties withTrailProperties(java.util.Collection<TrailProperties> trailProperties) {
        setTrailProperties(trailProperties);
        return this;
    }
<p>
A <code>TrailProperties</code> object that contains settings for trail properties.
</p>

@param trailProperties
       A <code>TrailProperties</code> object that contains settings for trail properties.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/CloudTrailProperties.java