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 Details

    • StorageTargetInner

      public StorageTargetInner()
  • Method Details

    • 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.
    • allocationPercentage

      public Integer allocationPercentage()
      Get the allocationPercentage property: The percentage of cache space allocated for this storage target.
      Returns:
      the allocationPercentage value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class StorageTargetResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.