public Optional<AllocationResult> allocation() {
        return Optional.ofNullable(this.allocation);
    }
@return Allocation is set once the claim has been allocated successfully.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta2/outputs/ResourceClaimStatus.java