Class DatadogApiKeyInner

java.lang.Object
com.azure.resourcemanager.datadog.fluent.models.DatadogApiKeyInner

public final class DatadogApiKeyInner extends Object
The DatadogApiKey model.
  • Constructor Details

    • DatadogApiKeyInner

      public DatadogApiKeyInner()
      Creates an instance of DatadogApiKeyInner class.
  • Method Details

    • createdBy

      public String createdBy()
      Get the createdBy property: The user that created the API key.
      Returns:
      the createdBy value.
    • withCreatedBy

      public DatadogApiKeyInner withCreatedBy(String createdBy)
      Set the createdBy property: The user that created the API key.
      Parameters:
      createdBy - the createdBy value to set.
      Returns:
      the DatadogApiKeyInner object itself.
    • name

      public String name()
      Get the name property: The name of the API key.
      Returns:
      the name value.
    • withName

      public DatadogApiKeyInner withName(String name)
      Set the name property: The name of the API key.
      Parameters:
      name - the name value to set.
      Returns:
      the DatadogApiKeyInner object itself.
    • key

      public String key()
      Get the key property: The value of the API key.
      Returns:
      the key value.
    • withKey

      public DatadogApiKeyInner withKey(String key)
      Set the key property: The value of the API key.
      Parameters:
      key - the key value to set.
      Returns:
      the DatadogApiKeyInner object itself.
    • created

      public String created()
      Get the created property: The time of creation of the API key.
      Returns:
      the created value.
    • withCreated

      public DatadogApiKeyInner withCreated(String created)
      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.