public String getPeriodTimeGranularity() {
        return this.periodTimeGranularity;
    }
<p>
The time granularity setup of period to date computation. Choose from the following options:
</p>
<ul>
<li>
<p>
YEAR: Year to date.
</p>
</li>
<li>
<p>
MONTH: Month to date.
</p>
</li>
</ul>

@return The time granularity setup of period to date computation. Choose from the following options:</p>
        <ul>
        <li>
        <p>
        YEAR: Year to date.
        </p>
        </li>
        <li>
        <p>
        MONTH: Month to date.
        </p>
        </li>
@see TimeGranularity
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PeriodToDateComputation.java