public Integer getDuration() {
        return this.duration;
    }
<p>
The number of hours that an association can run on specified targets. After the resulting cutoff time passes,
associations that are currently running are cancelled, and no pending executions are started on remaining
targets.
</p>

@return The number of hours that an association can run on specified targets. After the resulting cutoff time
        passes, associations that are currently running are cancelled, and no pending executions are started on
        remaining targets.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/Association.java