Class MountFileShareConfiguration
java.lang.Object
com.azure.resourcemanager.workloads.models.FileShareConfiguration
com.azure.resourcemanager.workloads.models.MountFileShareConfiguration
Gets or sets the file share configuration for externally mounted cases.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MountFileShareConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: The fileshare resource ID.Get the privateEndpointId property: The private endpoint resource ID.void
validate()
Validates the instance.Set the id property: The fileshare resource ID.withPrivateEndpointId
(String privateEndpointId) Set the privateEndpointId property: The private endpoint resource ID.
-
Constructor Details
-
MountFileShareConfiguration
public MountFileShareConfiguration()Creates an instance of MountFileShareConfiguration class.
-
-
Method Details
-
id
Get the id property: The fileshare resource ID.- Returns:
- the id value.
-
withId
Set the id property: The fileshare resource ID.- Parameters:
id
- the id value to set.- Returns:
- the MountFileShareConfiguration object itself.
-
privateEndpointId
Get the privateEndpointId property: The private endpoint resource ID.- Returns:
- the privateEndpointId value.
-
withPrivateEndpointId
Set the privateEndpointId property: The private endpoint resource ID.- Parameters:
privateEndpointId
- the privateEndpointId value to set.- Returns:
- the MountFileShareConfiguration object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classFileShareConfiguration
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-