/// <inheritdoc cref="PutLifecycle(Nest6.PolicyId,System.Func{Nest6.PutLifecycleDescriptor,Nest6.IPutLifecycleRequest})" /> public IPutLifecycleResponse PutLifecycle(PolicyId policyId, Func <PutLifecycleDescriptor, IPutLifecycleRequest> selector = null) => PutLifecycle(selector.InvokeOrDefault(new PutLifecycleDescriptor(policyId)));
/// <inheritdoc cref="PutLifecycle(Nest6.PolicyId,System.Func{Nest6.PutLifecycleDescriptor,Nest6.IPutLifecycleRequest})" /> public Task <IPutLifecycleResponse> PutLifecycleAsync(PolicyId policyId, Func <PutLifecycleDescriptor, IPutLifecycleRequest> selector = null, CancellationToken cancellationToken = default(CancellationToken) ) => PutLifecycleAsync(selector.InvokeOrDefault(new PutLifecycleDescriptor(policyId)), cancellationToken);
/// <inheritdoc cref="DeleteLifecycle(Nest6.PolicyId,System.Func{Nest6.DeleteLifecycleDescriptor,Nest6.IDeleteLifecycleRequest})" /> public IDeleteLifecycleResponse DeleteLifecycle(PolicyId policyId, Func <DeleteLifecycleDescriptor, IDeleteLifecycleRequest> selector = null) => DeleteLifecycle(selector.InvokeOrDefault(new DeleteLifecycleDescriptor(policyId)));