public HorizontalPodAutoscalerConditionArgs build() {
            if ($.status == null) {
                throw new MissingRequiredPropertyException("HorizontalPodAutoscalerConditionArgs", "status");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("HorizontalPodAutoscalerConditionArgs", "type");
            }
            return $;
        }
@param type type describes the current condition

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/autoscaling/v2/inputs/HorizontalPodAutoscalerConditionArgs.java