ServiceSharedKeyAccessProperties Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ServiceSharedKeyAccessProperties
- com.
Implements
public final class ServiceSharedKeyAccessProperties
implements JsonSerializable<ServiceSharedKeyAccessProperties>
Defines shared key access settings for an individual storage service.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceSharedKeyAccessProperties() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
enabled()
Get the enabled property: Indicates whether shared key access is enabled for the service. |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Service |
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether shared key access is enabled for the service. |
Methods inherited from java.lang.Object
Constructor Details
ServiceSharedKeyAccessProperties
public ServiceSharedKeyAccessProperties()
Creates an instance of ServiceSharedKeyAccessProperties class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Indicates whether shared key access is enabled for the service.
Returns:
fromJson
public static ServiceSharedKeyAccessProperties fromJson(JsonReader jsonReader)
Reads an instance of ServiceSharedKeyAccessProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ServiceSharedKeyAccessProperties withEnabled(Boolean enabled)
Set the enabled property: Indicates whether shared key access is enabled for the service.
Parameters:
Returns: