TableServicePropertiesInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. fluent. models. TableServicePropertiesInner
- com.
- com.
public final class TableServicePropertiesInner
extends ProxyResource
The properties of a storage account\u2019s Table service.
Constructor Summary
Constructor | Description |
---|---|
TableServicePropertiesInner() |
Creates an instance of Table |
Method Summary
Modifier and Type | Method and Description |
---|---|
Cors |
cors()
Get the cors property: Specifies CORS rules for the Table service. |
static
Table |
fromJson(JsonReader jsonReader)
Reads an instance of Table |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Table |
withCors(CorsRules cors)
Set the cors property: Specifies CORS rules for the Table service. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
TableServicePropertiesInner
public TableServicePropertiesInner()
Creates an instance of TableServicePropertiesInner class.
Method Details
cors
public CorsRules cors()
Get the cors property: Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service.
Returns:
fromJson
public static TableServicePropertiesInner fromJson(JsonReader jsonReader)
Reads an instance of TableServicePropertiesInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
TableServicePropertiesInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
TableServicePropertiesInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TableServicePropertiesInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
TableServicePropertiesInner.type()Returns:
validate
public void validate()
Validates the instance.
withCors
public TableServicePropertiesInner withCors(CorsRules cors)
Set the cors property: Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service.
Parameters:
Returns:
Applies to
Azure SDK for Java