Class VolumeAttachmentSpec.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.storage.v1beta1.VolumeAttachmentSpec.Builder
-
- Enclosing class:
- VolumeAttachmentSpec
public static class VolumeAttachmentSpec.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeAttachmentSpec.Builder
attacher(@NonNull java.lang.String attacher)
Attacher indicates the name of the volume driver that MUST handle this request.VolumeAttachmentSpec
build()
VolumeAttachmentSpec.Builder
nodeName(@NonNull java.lang.String nodeName)
The node that the volume should be attached to.VolumeAttachmentSpec.Builder
source(@NonNull VolumeAttachmentSource source)
java.lang.String
toString()
-
-
-
Method Detail
-
attacher
public VolumeAttachmentSpec.Builder attacher(@NonNull @NonNull java.lang.String attacher)
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().- Returns:
this
.
-
nodeName
public VolumeAttachmentSpec.Builder nodeName(@NonNull @NonNull java.lang.String nodeName)
The node that the volume should be attached to.- Returns:
this
.
-
source
public VolumeAttachmentSpec.Builder source(@NonNull @NonNull VolumeAttachmentSource source)
- Returns:
this
.
-
build
public VolumeAttachmentSpec build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-