StorageConnectorProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. StorageConnectorProperties
- com.
Implements
public final class StorageConnectorProperties
implements JsonSerializable<StorageConnectorProperties>
The storage connector properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageConnectorProperties() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
creationTime()
Get the creation |
|
Storage |
dataSourceType()
Get the data |
| String |
description()
Get the description property: Arbitrary description of this Storage Connector. |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Native |
provisioningState()
Get the provisioning |
|
Storage |
source()
Get the source property: Information about how to communicate with and authenticate to the backing data store. |
|
Storage |
state()
Get the state property: State - Active or Inactive. |
| Boolean |
testConnection()
Get the test |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uniqueId()
Get the unique |
| void |
validate()
Validates the instance. |
|
Storage |
withDataSourceType(StorageConnectorDataSourceType dataSourceType)
Set the data |
|
Storage |
withDescription(String description)
Set the description property: Arbitrary description of this Storage Connector. |
|
Storage |
withSource(StorageConnectorSource source)
Set the source property: Information about how to communicate with and authenticate to the backing data store. |
|
Storage |
withState(StorageConnectorState state)
Set the state property: State - Active or Inactive. |
|
Storage |
withTestConnection(Boolean testConnection)
Set the test |
Methods inherited from java.lang.Object
Constructor Details
StorageConnectorProperties
public StorageConnectorProperties()
Creates an instance of StorageConnectorProperties class.
Method Details
creationTime
public String creationTime()
Get the creationTime property: System-generated creation time of the Storage Connector in ISO 8601 date-time format (YYYY-MM-DDTHH:mm:ssZ). Not a valid input parameter during creating.
Returns:
dataSourceType
public StorageConnectorDataSourceType dataSourceType()
Get the dataSourceType property: The type of backing data source for this Storage Connector.
Returns:
description
public String description()
Get the description property: Arbitrary description of this Storage Connector. Max 250 characters.
Returns:
fromJson
public static StorageConnectorProperties fromJson(JsonReader jsonReader)
Reads an instance of StorageConnectorProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public NativeDataSharingProvisioningState provisioningState()
Get the provisioningState property: Represents the provisioning state of the storage connector.
Returns:
source
public StorageConnectorSource source()
Get the source property: Information about how to communicate with and authenticate to the backing data store.
Returns:
state
public StorageConnectorState state()
Get the state property: State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active) (While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.
Returns:
testConnection
public Boolean testConnection()
Get the testConnection property: Test connection to backing data source before creating the storage connector.
Returns:
toJson
uniqueId
public String uniqueId()
Get the uniqueId property: System-generated GUID identifier for the Storage Connector. Not a valid input parameter when creating.
Returns:
validate
public void validate()
Validates the instance.
withDataSourceType
public StorageConnectorProperties withDataSourceType(StorageConnectorDataSourceType dataSourceType)
Set the dataSourceType property: The type of backing data source for this Storage Connector.
Parameters:
Returns:
withDescription
public StorageConnectorProperties withDescription(String description)
Set the description property: Arbitrary description of this Storage Connector. Max 250 characters.
Parameters:
Returns:
withSource
public StorageConnectorProperties withSource(StorageConnectorSource source)
Set the source property: Information about how to communicate with and authenticate to the backing data store.
Parameters:
Returns:
withState
public StorageConnectorProperties withState(StorageConnectorState state)
Set the state property: State - Active or Inactive. Whether or not the Storage Connector should start as active (default: Active) (While set to false on the Storage Connector, all data plane requests using this Storage Connector fail, and this Storage Connector is not billed if it would be otherwise.
Parameters:
Returns:
withTestConnection
public StorageConnectorProperties withTestConnection(Boolean testConnection)
Set the testConnection property: Test connection to backing data source before creating the storage connector.
Parameters:
Returns: