public AwsCloudTrailTrailDetails withIsOrganizationTrail(Boolean isOrganizationTrail) {
        setIsOrganizationTrail(isOrganizationTrail);
        return this;
    }
<p>
Whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon
Web Services account.
</p>

@param isOrganizationTrail
       Whether the trail is created for all accounts in an organization in Organizations, or only for the current
       Amazon Web Services account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsCloudTrailTrailDetails.java