public void setSecondsToLive(Integer secondsToLive) {
        this.secondsToLive = secondsToLive;
    }
<p>
Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.
</p>

@param secondsToLive
       Specifies the time in seconds until the key expires. Keys can be valid for up to 30 days.
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/CreateWorkspaceApiKeyRequest.java