Class DatadogApiKeyInner
java.lang.Object
com.azure.resourcemanager.datadog.fluent.models.DatadogApiKeyInner
The DatadogApiKey model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreated()
Get the created property: The time of creation of the API key.Get the createdBy property: The user that created the API key.key()
Get the key property: The value of the API key.name()
Get the name property: The name of the API key.void
validate()
Validates the instance.withCreated
(String created) Set the created property: The time of creation of the API key.withCreatedBy
(String createdBy) Set the createdBy property: The user that created the API key.Set the key property: The value of the API key.Set the name property: The name of the API key.
-
Constructor Details
-
DatadogApiKeyInner
public DatadogApiKeyInner()Creates an instance of DatadogApiKeyInner class.
-
-
Method Details
-
createdBy
Get the createdBy property: The user that created the API key.- Returns:
- the createdBy value.
-
withCreatedBy
Set the createdBy property: The user that created the API key.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the DatadogApiKeyInner object itself.
-
name
Get the name property: The name of the API key.- Returns:
- the name value.
-
withName
Set the name property: The name of the API key.- Parameters:
name
- the name value to set.- Returns:
- the DatadogApiKeyInner object itself.
-
key
Get the key property: The value of the API key.- Returns:
- the key value.
-
withKey
Set the key property: The value of the API key.- Parameters:
key
- the key value to set.- Returns:
- the DatadogApiKeyInner object itself.
-
created
Get the created property: The time of creation of the API key.- Returns:
- the created value.
-
withCreated
Set the created property: The time of creation of the API key.- Parameters:
created
- the created value to set.- Returns:
- the DatadogApiKeyInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-