StorageTargetInner Class

public final class StorageTargetInner
extends StorageTargetResource

Type of the Storage Target.

Constructor Summary

Constructor Description
StorageTargetInner()

Creates an instance of StorageTargetInner class.

Method Summary

Modifier and Type Method and Description
Integer allocationPercentage()

Get the allocationPercentage property: The percentage of cache space allocated for this storage target.

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 ProxyResource

Methods inherited from StorageTargetResource

Methods inherited from java.lang.Object

Constructor Details

StorageTargetInner

public StorageTargetInner()

Creates an instance of StorageTargetInner class.

Method Details

allocationPercentage

public Integer allocationPercentage()

Get the allocationPercentage property: The percentage of cache space allocated for this storage target.

Returns:

the allocationPercentage value.

blobNfs

public BlobNfsTarget blobNfs()

Get the blobNfs property: Properties when targetType is blobNfs.

Returns:

the blobNfs value.

clfs

public ClfsTarget clfs()

Get the clfs property: Properties when targetType is clfs.

Returns:

the clfs value.

junctions

public List junctions()

Get the junctions property: List of cache namespace junctions to target for namespace associations.

Returns:

the junctions value.

nfs3

public Nfs3Target nfs3()

Get the nfs3 property: Properties when targetType is nfs3.

Returns:

the nfs3 value.

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.

targetType

public StorageTargetType targetType()

Get the targetType property: Type of the Storage Target.

Returns:

the targetType value.

unknown

public UnknownTarget unknown()

Get the unknown property: Properties when targetType is unknown.

Returns:

the unknown value.

validate

public void validate()

Validates the instance.

Overrides:

StorageTargetInner.validate()

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.

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.

withJunctions

public StorageTargetInner withJunctions(List 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.

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.

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.

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.

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.

Applies to