public void setLifecycle(AwsBackupRecoveryPointLifecycleDetails lifecycle) {
        this.lifecycle = lifecycle;
    }
<p>
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup
transitions and expires backups automatically according to the lifecycle that you define
</p>

@param lifecycle
       The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
       Backup transitions and expires backups automatically according to the lifecycle that you define
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsBackupRecoveryPointDetails.java