EncryptionScopeInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. fluent. models. EncryptionScopeInner
- com.
- com.
public final class EncryptionScopeInner
extends ProxyResource
The Encryption Scope resource.
Constructor Summary
Constructor | Description |
---|---|
EncryptionScopeInner() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
creationTime()
Get the creation |
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Encryption |
keyVaultProperties()
Get the key |
Offset |
lastModifiedTime()
Get the last |
String |
name()
Get the name property: The name of the resource. |
Boolean |
requireInfrastructureEncryption()
Get the require |
Encryption |
source()
Get the source property: The provider for the encryption scope. |
Encryption |
state()
Get the state property: The state of the encryption scope. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Encryption |
withKeyVaultProperties(EncryptionScopeKeyVaultProperties keyVaultProperties)
Set the key |
Encryption |
withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
Set the require |
Encryption |
withSource(EncryptionScopeSource source)
Set the source property: The provider for the encryption scope. |
Encryption |
withState(EncryptionScopeState state)
Set the state property: The state of the encryption scope. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
EncryptionScopeInner
public EncryptionScopeInner()
Creates an instance of EncryptionScopeInner class.
Method Details
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Gets the creation date and time of the encryption scope in UTC.
Returns:
fromJson
public static EncryptionScopeInner fromJson(JsonReader jsonReader)
Reads an instance of EncryptionScopeInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
EncryptionScopeInner.id()Returns:
keyVaultProperties
public EncryptionScopeKeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Gets the last modification date and time of the encryption scope in UTC.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
EncryptionScopeInner.name()Returns:
requireInfrastructureEncryption
public Boolean requireInfrastructureEncryption()
Get the requireInfrastructureEncryption property: A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
Returns:
source
public EncryptionScopeSource source()
Get the source property: The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
Returns:
state
public EncryptionScopeState state()
Get the state property: The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EncryptionScopeInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
EncryptionScopeInner.type()Returns:
validate
public void validate()
Validates the instance.
withKeyVaultProperties
public EncryptionScopeInner withKeyVaultProperties(EncryptionScopeKeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.
Parameters:
Returns:
withRequireInfrastructureEncryption
public EncryptionScopeInner withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
Set the requireInfrastructureEncryption property: A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
Parameters:
Returns:
withSource
public EncryptionScopeInner withSource(EncryptionScopeSource source)
Set the source property: The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.
Parameters:
Returns:
withState
public EncryptionScopeInner withState(EncryptionScopeState state)
Set the state property: The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.
Parameters:
Returns:
Applies to
Azure SDK for Java