Class VolumeAttachmentSpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.storage.v1alpha1.VolumeAttachmentSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VolumeAttachmentSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VolumeAttachmentSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<VolumeAttachmentSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VolumeAttachmentSpec is the specification of a VolumeAttachment request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VolumeAttachmentSpec()No args constructor for use in serializationVolumeAttachmentSpec(String attacher, String nodeName, VolumeAttachmentSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeAttachmentSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAttacher()Attacher indicates the name of the volume driver that MUST handle this request.StringgetNodeName()The node that the volume should be attached to.VolumeAttachmentSourcegetSource()VolumeAttachmentSpec is the specification of a VolumeAttachment request.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAttacher(String attacher)Attacher indicates the name of the volume driver that MUST handle this request.voidsetNodeName(String nodeName)The node that the volume should be attached to.voidsetSource(VolumeAttachmentSource source)VolumeAttachmentSpec is the specification of a VolumeAttachment request.VolumeAttachmentSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
VolumeAttachmentSpec
public VolumeAttachmentSpec()
No args constructor for use in serialization
-
VolumeAttachmentSpec
public VolumeAttachmentSpec(String attacher, String nodeName, VolumeAttachmentSource source)
-
-
Method Detail
-
getAttacher
public String getAttacher()
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
-
setAttacher
public void setAttacher(String attacher)
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
-
getNodeName
public String getNodeName()
The node that the volume should be attached to.
-
setNodeName
public void setNodeName(String nodeName)
The node that the volume should be attached to.
-
getSource
public VolumeAttachmentSource getSource()
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
-
setSource
public void setSource(VolumeAttachmentSource source)
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
-
edit
public VolumeAttachmentSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VolumeAttachmentSpecBuilder>
-
toBuilder
public VolumeAttachmentSpecBuilder toBuilder()
-
-