public class VolumeMetaData extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | VolumeMetaData.VolumeSpecBuilderThe builder used to build a VolumeMetaData instance. | 
| Constructor and Description | 
|---|
| VolumeMetaData() | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<VolumeMetaData> | fromResource(org.apache.hadoop.yarn.api.records.ResourceInformation resourceInfo) | 
| String | getDriverName() | 
| String | getMountPoint() | 
| VolumeCapabilityRange | getVolumeCapabilityRange() | 
| VolumeId | getVolumeId() | 
| String | getVolumeName() | 
| boolean | isProvisionedVolume() | 
| static VolumeMetaData.VolumeSpecBuilder | newBuilder() | 
| String | toString() | 
public boolean isProvisionedVolume()
public VolumeId getVolumeId()
public String getVolumeName()
public VolumeCapabilityRange getVolumeCapabilityRange()
public String getDriverName()
public String getMountPoint()
public static VolumeMetaData.VolumeSpecBuilder newBuilder()
public static List<VolumeMetaData> fromResource(org.apache.hadoop.yarn.api.records.ResourceInformation resourceInfo) throws InvalidVolumeException
InvalidVolumeExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.