public void setDuration(Integer duration) {
        this.duration = duration;
    }
<p>
Duration (in minutes), after which the corresponding participant token expires. Default: 720 (12 hours).
</p>

@param duration
       Duration (in minutes), after which the corresponding participant token expires. Default: 720 (12 hours).
aws-java-sdk-ivsrealtime/src/main/java/com/amazonaws/services/ivsrealtime/model/ParticipantTokenConfiguration.java