StorageSyncServiceCreateParametersProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.fluent.models.StorageSyncServiceCreateParametersProperties

Implements

public final class StorageSyncServiceCreateParametersProperties
implements JsonSerializable<StorageSyncServiceCreateParametersProperties>

StorageSyncService Properties object.

Constructor Summary

Constructor Description
StorageSyncServiceCreateParametersProperties()

Creates an instance of StorageSyncServiceCreateParametersProperties class.

Method Summary

Modifier and Type Method and Description
static StorageSyncServiceCreateParametersProperties fromJson(JsonReader jsonReader)

Reads an instance of StorageSyncServiceCreateParametersProperties from the JsonReader.

IncomingTrafficPolicy incomingTrafficPolicy()

Get the incomingTrafficPolicy property: Incoming Traffic Policy.

JsonWriter toJson(JsonWriter jsonWriter)
Boolean useIdentity()

Get the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

StorageSyncServiceCreateParametersProperties withIncomingTrafficPolicy(IncomingTrafficPolicy incomingTrafficPolicy)

Set the incomingTrafficPolicy property: Incoming Traffic Policy.

StorageSyncServiceCreateParametersProperties withUseIdentity(Boolean useIdentity)

Set the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

Methods inherited from java.lang.Object

Constructor Details

StorageSyncServiceCreateParametersProperties

public StorageSyncServiceCreateParametersProperties()

Creates an instance of StorageSyncServiceCreateParametersProperties class.

Method Details

fromJson

public static StorageSyncServiceCreateParametersProperties fromJson(JsonReader jsonReader)

Reads an instance of StorageSyncServiceCreateParametersProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StorageSyncServiceCreateParametersProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StorageSyncServiceCreateParametersProperties.

incomingTrafficPolicy

public IncomingTrafficPolicy incomingTrafficPolicy()

Get the incomingTrafficPolicy property: Incoming Traffic Policy.

Returns:

the incomingTrafficPolicy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

useIdentity

public Boolean useIdentity()

Get the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

Returns:

the useIdentity value.

withIncomingTrafficPolicy

public StorageSyncServiceCreateParametersProperties withIncomingTrafficPolicy(IncomingTrafficPolicy incomingTrafficPolicy)

Set the incomingTrafficPolicy property: Incoming Traffic Policy.

Parameters:

incomingTrafficPolicy - the incomingTrafficPolicy value to set.

Returns:

the StorageSyncServiceCreateParametersProperties object itself.

withUseIdentity

public StorageSyncServiceCreateParametersProperties withUseIdentity(Boolean useIdentity)

Set the useIdentity property: Use Identity authorization when customer have finished setup RBAC permissions.

Parameters:

useIdentity - the useIdentity value to set.

Returns:

the StorageSyncServiceCreateParametersProperties object itself.

Applies to