ServerKeyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. fluent. models. ServerKeyProperties
- com.
Implements
public final class ServerKeyProperties
implements JsonSerializable<ServerKeyProperties>
Properties for a key execution.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerKeyProperties() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
creationDate()
Get the creation |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
|
Server |
serverKeyType()
Get the server |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uri()
Get the uri property: The URI of the key. |
| void |
validate()
Validates the instance. |
|
Server |
withServerKeyType(ServerKeyType serverKeyType)
Set the server |
|
Server |
withUri(String uri)
Set the uri property: The URI of the key. |
Methods inherited from java.lang.Object
Constructor Details
ServerKeyProperties
public ServerKeyProperties()
Creates an instance of ServerKeyProperties class.
Method Details
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The key creation date.
Returns:
fromJson
public static ServerKeyProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerKeyProperties from the JsonReader.
Parameters:
Returns:
Throws:
serverKeyType
public ServerKeyType serverKeyType()
Get the serverKeyType property: The key type like 'AzureKeyVault'.
Returns:
toJson
uri
public String uri()
Get the uri property: The URI of the key.
Returns:
validate
public void validate()
Validates the instance.
withServerKeyType
public ServerKeyProperties withServerKeyType(ServerKeyType serverKeyType)
Set the serverKeyType property: The key type like 'AzureKeyVault'.
Parameters:
Returns:
withUri
public ServerKeyProperties withUri(String uri)
Set the uri property: The URI of the key.
Parameters:
Returns: