public void setPeriodTimeGranularity(String periodTimeGranularity) {
        this.periodTimeGranularity = 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>

@param periodTimeGranularity
       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