public void setGoal(Goal goal) {
        this.goal = goal;
    }
<p>
A structure that contains the attributes that determine the goal of the SLO. This includes the time period for
evaluation and the attainment threshold.
</p>

@param goal
       A structure that contains the attributes that determine the goal of the SLO. This includes the time period
       for evaluation and the attainment threshold.
aws-java-sdk-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/UpdateServiceLevelObjectiveRequest.java