public VolumeAttachmentSpecArgs build() {
            if ($.attacher == null) {
                throw new MissingRequiredPropertyException("VolumeAttachmentSpecArgs", "attacher");
            }
            if ($.nodeName == null) {
                throw new MissingRequiredPropertyException("VolumeAttachmentSpecArgs", "nodeName");
            }
            if ($.source == null) {
                throw new MissingRequiredPropertyException("VolumeAttachmentSpecArgs", "source");
            }
            return $;
        }
@param source Source represents the volume that should be attached.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/storage/v1beta1/inputs/VolumeAttachmentSpecArgs.java