Class ComputeInstanceDataMount
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ComputeInstanceDataMount
-
public final class ComputeInstanceDataMount extends Object
Defines an Aml Instance DataMount.
-
-
Constructor Summary
Constructors Constructor Description ComputeInstanceDataMount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
createdBy()
Get the createdBy property: who this data mount created by.String
error()
Get the error property: Error of this data mount.MountAction
mountAction()
Get the mountAction property: Mount Action.OffsetDateTime
mountedOn()
Get the mountedOn property: Mounted time.String
mountName()
Get the mountName property: name of the ComputeInstance data mount.String
mountPath()
Get the mountPath property: Path of this data mount.MountState
mountState()
Get the mountState property: Mount state.String
source()
Get the source property: Source of the ComputeInstance data mount.SourceType
sourceType()
Get the sourceType property: Data source type.void
validate()
Validates the instance.ComputeInstanceDataMount
withCreatedBy(String createdBy)
Set the createdBy property: who this data mount created by.ComputeInstanceDataMount
withError(String error)
Set the error property: Error of this data mount.ComputeInstanceDataMount
withMountAction(MountAction mountAction)
Set the mountAction property: Mount Action.ComputeInstanceDataMount
withMountedOn(OffsetDateTime mountedOn)
Set the mountedOn property: Mounted time.ComputeInstanceDataMount
withMountName(String mountName)
Set the mountName property: name of the ComputeInstance data mount.ComputeInstanceDataMount
withMountPath(String mountPath)
Set the mountPath property: Path of this data mount.ComputeInstanceDataMount
withMountState(MountState mountState)
Set the mountState property: Mount state.ComputeInstanceDataMount
withSource(String source)
Set the source property: Source of the ComputeInstance data mount.ComputeInstanceDataMount
withSourceType(SourceType sourceType)
Set the sourceType property: Data source type.
-
-
-
Method Detail
-
source
public String source()
Get the source property: Source of the ComputeInstance data mount.- Returns:
- the source value.
-
withSource
public ComputeInstanceDataMount withSource(String source)
Set the source property: Source of the ComputeInstance data mount.- Parameters:
source
- the source value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
sourceType
public SourceType sourceType()
Get the sourceType property: Data source type.- Returns:
- the sourceType value.
-
withSourceType
public ComputeInstanceDataMount withSourceType(SourceType sourceType)
Set the sourceType property: Data source type.- Parameters:
sourceType
- the sourceType value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
mountName
public String mountName()
Get the mountName property: name of the ComputeInstance data mount.- Returns:
- the mountName value.
-
withMountName
public ComputeInstanceDataMount withMountName(String mountName)
Set the mountName property: name of the ComputeInstance data mount.- Parameters:
mountName
- the mountName value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
mountAction
public MountAction mountAction()
Get the mountAction property: Mount Action.- Returns:
- the mountAction value.
-
withMountAction
public ComputeInstanceDataMount withMountAction(MountAction mountAction)
Set the mountAction property: Mount Action.- Parameters:
mountAction
- the mountAction value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
createdBy
public String createdBy()
Get the createdBy property: who this data mount created by.- Returns:
- the createdBy value.
-
withCreatedBy
public ComputeInstanceDataMount withCreatedBy(String createdBy)
Set the createdBy property: who this data mount created by.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
mountPath
public String mountPath()
Get the mountPath property: Path of this data mount.- Returns:
- the mountPath value.
-
withMountPath
public ComputeInstanceDataMount withMountPath(String mountPath)
Set the mountPath property: Path of this data mount.- Parameters:
mountPath
- the mountPath value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
mountState
public MountState mountState()
Get the mountState property: Mount state.- Returns:
- the mountState value.
-
withMountState
public ComputeInstanceDataMount withMountState(MountState mountState)
Set the mountState property: Mount state.- Parameters:
mountState
- the mountState value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
mountedOn
public OffsetDateTime mountedOn()
Get the mountedOn property: Mounted time. The time when the disk mounted.- Returns:
- the mountedOn value.
-
withMountedOn
public ComputeInstanceDataMount withMountedOn(OffsetDateTime mountedOn)
Set the mountedOn property: Mounted time. The time when the disk mounted.- Parameters:
mountedOn
- the mountedOn value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
error
public String error()
Get the error property: Error of this data mount.- Returns:
- the error value.
-
withError
public ComputeInstanceDataMount withError(String error)
Set the error property: Error of this data mount.- Parameters:
error
- the error value to set.- Returns:
- the ComputeInstanceDataMount object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-