Class StorageTargetInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.storagecache.models.StorageTargetResource
-
- com.azure.resourcemanager.storagecache.fluent.models.StorageTargetInner
-
public final class StorageTargetInner extends StorageTargetResource
Type of the Storage Target.
-
-
Constructor Summary
Constructors Constructor Description StorageTargetInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobNfsTarget
blobNfs()
Get the blobNfs property: Properties when targetType is blobNfs.ClfsTarget
clfs()
Get the clfs property: Properties when targetType is clfs.List<NamespaceJunction>
junctions()
Get the junctions property: List of Cache namespace junctions to target for namespace associations.Nfs3Target
nfs3()
Get the nfs3 property: Properties when targetType is nfs3.ProvisioningStateType
provisioningState()
Get the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.OperationalStateType
state()
Get the state property: Storage target operational state.StorageTargetType
targetType()
Get the targetType property: Type of the Storage Target.UnknownTarget
unknown()
Get the unknown property: Properties when targetType is unknown.void
validate()
Validates the instance.StorageTargetInner
withBlobNfs(BlobNfsTarget blobNfs)
Set the blobNfs property: Properties when targetType is blobNfs.StorageTargetInner
withClfs(ClfsTarget clfs)
Set the clfs property: Properties when targetType is clfs.StorageTargetInner
withJunctions(List<NamespaceJunction> junctions)
Set the junctions property: List of Cache namespace junctions to target for namespace associations.StorageTargetInner
withNfs3(Nfs3Target nfs3)
Set the nfs3 property: Properties when targetType is nfs3.StorageTargetInner
withState(OperationalStateType state)
Set the state property: Storage target operational state.StorageTargetInner
withTargetType(StorageTargetType targetType)
Set the targetType property: Type of the Storage Target.StorageTargetInner
withUnknown(UnknownTarget unknown)
Set the unknown property: Properties when targetType is unknown.-
Methods inherited from class com.azure.resourcemanager.storagecache.models.StorageTargetResource
location, systemData
-
-
-
-
Method Detail
-
junctions
public List<NamespaceJunction> junctions()
Get the junctions property: List of Cache namespace junctions to target for namespace associations.- Returns:
- the junctions value.
-
withJunctions
public StorageTargetInner withJunctions(List<NamespaceJunction> junctions)
Set the junctions property: List of Cache namespace junctions to target for namespace associations.- Parameters:
junctions
- the junctions value to set.- Returns:
- the StorageTargetInner object itself.
-
targetType
public StorageTargetType targetType()
Get the targetType property: Type of the Storage Target.- Returns:
- the targetType value.
-
withTargetType
public StorageTargetInner withTargetType(StorageTargetType targetType)
Set the targetType property: Type of the Storage Target.- Parameters:
targetType
- the targetType value to set.- Returns:
- the StorageTargetInner object itself.
-
provisioningState
public ProvisioningStateType provisioningState()
Get the provisioningState property: ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.- Returns:
- the provisioningState value.
-
state
public OperationalStateType state()
Get the state property: Storage target operational state.- Returns:
- the state value.
-
withState
public StorageTargetInner withState(OperationalStateType state)
Set the state property: Storage target operational state.- Parameters:
state
- the state value to set.- Returns:
- the StorageTargetInner object itself.
-
nfs3
public Nfs3Target nfs3()
Get the nfs3 property: Properties when targetType is nfs3.- Returns:
- the nfs3 value.
-
withNfs3
public StorageTargetInner withNfs3(Nfs3Target nfs3)
Set the nfs3 property: Properties when targetType is nfs3.- Parameters:
nfs3
- the nfs3 value to set.- Returns:
- the StorageTargetInner object itself.
-
clfs
public ClfsTarget clfs()
Get the clfs property: Properties when targetType is clfs.- Returns:
- the clfs value.
-
withClfs
public StorageTargetInner withClfs(ClfsTarget clfs)
Set the clfs property: Properties when targetType is clfs.- Parameters:
clfs
- the clfs value to set.- Returns:
- the StorageTargetInner object itself.
-
unknown
public UnknownTarget unknown()
Get the unknown property: Properties when targetType is unknown.- Returns:
- the unknown value.
-
withUnknown
public StorageTargetInner withUnknown(UnknownTarget unknown)
Set the unknown property: Properties when targetType is unknown.- Parameters:
unknown
- the unknown value to set.- Returns:
- the StorageTargetInner object itself.
-
blobNfs
public BlobNfsTarget blobNfs()
Get the blobNfs property: Properties when targetType is blobNfs.- Returns:
- the blobNfs value.
-
withBlobNfs
public StorageTargetInner withBlobNfs(BlobNfsTarget blobNfs)
Set the blobNfs property: Properties when targetType is blobNfs.- Parameters:
blobNfs
- the blobNfs value to set.- Returns:
- the StorageTargetInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classStorageTargetResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-