Class AzureStorageBlobContainerEndpointProperties
java.lang.Object
com.azure.resourcemanager.storagemover.models.EndpointBaseProperties
com.azure.resourcemanager.storagemover.models.AzureStorageBlobContainerEndpointProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EndpointBaseProperties>
The properties of Azure Storage blob container endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureStorageBlobContainerEndpointProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the blobContainerName property: The name of the Storage blob container that is the target destination.Get the endpointType property: The Endpoint resource type.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureStorageBlobContainerEndpointProperties from the JsonReader.Get the storageAccountResourceId property: The Azure Resource ID of the storage account that is the target destination.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBlobContainerName(String blobContainerName) Set the blobContainerName property: The name of the Storage blob container that is the target destination.withDescription(String description) Set the description property: A description for the Endpoint.withStorageAccountResourceId(String storageAccountResourceId) Set the storageAccountResourceId property: The Azure Resource ID of the storage account that is the target destination.Methods inherited from class com.azure.resourcemanager.storagemover.models.EndpointBaseProperties
description, provisioningStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureStorageBlobContainerEndpointProperties
public AzureStorageBlobContainerEndpointProperties()Creates an instance of AzureStorageBlobContainerEndpointProperties class.
-
-
Method Details
-
endpointType
Get the endpointType property: The Endpoint resource type.- Overrides:
endpointTypein classEndpointBaseProperties- Returns:
- the endpointType value.
-
storageAccountResourceId
Get the storageAccountResourceId property: The Azure Resource ID of the storage account that is the target destination.- Returns:
- the storageAccountResourceId value.
-
withStorageAccountResourceId
public AzureStorageBlobContainerEndpointProperties withStorageAccountResourceId(String storageAccountResourceId) Set the storageAccountResourceId property: The Azure Resource ID of the storage account that is the target destination.- Parameters:
storageAccountResourceId- the storageAccountResourceId value to set.- Returns:
- the AzureStorageBlobContainerEndpointProperties object itself.
-
blobContainerName
Get the blobContainerName property: The name of the Storage blob container that is the target destination.- Returns:
- the blobContainerName value.
-
withBlobContainerName
Set the blobContainerName property: The name of the Storage blob container that is the target destination.- Parameters:
blobContainerName- the blobContainerName value to set.- Returns:
- the AzureStorageBlobContainerEndpointProperties object itself.
-
withDescription
Set the description property: A description for the Endpoint.- Overrides:
withDescriptionin classEndpointBaseProperties- Parameters:
description- the description value to set.- Returns:
- the EndpointBaseProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classEndpointBaseProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EndpointBaseProperties>- Overrides:
toJsonin classEndpointBaseProperties- Throws:
IOException
-
fromJson
public static AzureStorageBlobContainerEndpointProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AzureStorageBlobContainerEndpointProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AzureStorageBlobContainerEndpointProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the AzureStorageBlobContainerEndpointProperties.
-