Class StorageTargetProperties


  • public final class StorageTargetProperties
    extends Object
    Properties of the Storage Target.
    • Constructor Detail

      • StorageTargetProperties

        public StorageTargetProperties()
    • 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 StorageTargetProperties 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 StorageTargetProperties object itself.
      • targetType

        public StorageTargetType targetType()
        Get the targetType property: Type of the Storage Target.
        Returns:
        the targetType value.
      • withTargetType

        public StorageTargetProperties withTargetType​(StorageTargetType targetType)
        Set the targetType property: Type of the Storage Target.
        Parameters:
        targetType - the targetType value to set.
        Returns:
        the StorageTargetProperties 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 StorageTargetProperties withState​(OperationalStateType state)
        Set the state property: Storage target operational state.
        Parameters:
        state - the state value to set.
        Returns:
        the StorageTargetProperties object itself.
      • nfs3

        public Nfs3Target nfs3()
        Get the nfs3 property: Properties when targetType is nfs3.
        Returns:
        the nfs3 value.
      • withNfs3

        public StorageTargetProperties withNfs3​(Nfs3Target nfs3)
        Set the nfs3 property: Properties when targetType is nfs3.
        Parameters:
        nfs3 - the nfs3 value to set.
        Returns:
        the StorageTargetProperties object itself.
      • clfs

        public ClfsTarget clfs()
        Get the clfs property: Properties when targetType is clfs.
        Returns:
        the clfs value.
      • withClfs

        public StorageTargetProperties withClfs​(ClfsTarget clfs)
        Set the clfs property: Properties when targetType is clfs.
        Parameters:
        clfs - the clfs value to set.
        Returns:
        the StorageTargetProperties object itself.
      • unknown

        public UnknownTarget unknown()
        Get the unknown property: Properties when targetType is unknown.
        Returns:
        the unknown value.
      • withUnknown

        public StorageTargetProperties withUnknown​(UnknownTarget unknown)
        Set the unknown property: Properties when targetType is unknown.
        Parameters:
        unknown - the unknown value to set.
        Returns:
        the StorageTargetProperties object itself.
      • blobNfs

        public BlobNfsTarget blobNfs()
        Get the blobNfs property: Properties when targetType is blobNfs.
        Returns:
        the blobNfs value.
      • withBlobNfs

        public StorageTargetProperties withBlobNfs​(BlobNfsTarget blobNfs)
        Set the blobNfs property: Properties when targetType is blobNfs.
        Parameters:
        blobNfs - the blobNfs value to set.
        Returns:
        the StorageTargetProperties object itself.
      • validate

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