DatadogApiKeyInner Class

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

public final class DatadogApiKeyInner

The DatadogApiKey model.

Constructor Summary

Constructor Description
DatadogApiKeyInner()

Creates an instance of DatadogApiKeyInner class.

Method Summary

Modifier and Type Method and Description
String created()

Get the created property: The time of creation of the API key.

String createdBy()

Get the createdBy property: The user that created the API key.

String key()

Get the key property: The value of the API key.

String name()

Get the name property: The name of the API key.

void validate()

Validates the instance.

DatadogApiKeyInner withCreated(String created)

Set the created property: The time of creation of the API key.

DatadogApiKeyInner withCreatedBy(String createdBy)

Set the createdBy property: The user that created the API key.

DatadogApiKeyInner withKey(String key)

Set the key property: The value of the API key.

DatadogApiKeyInner withName(String name)

Set the name property: The name of the API key.

Methods inherited from java.lang.Object

Constructor Details

DatadogApiKeyInner

public DatadogApiKeyInner()

Creates an instance of DatadogApiKeyInner class.

Method Details

created

public String created()

Get the created property: The time of creation of the API key.

Returns:

the created value.

createdBy

public String createdBy()

Get the createdBy property: The user that created the API key.

Returns:

the createdBy value.

key

public String key()

Get the key property: The value of the API key.

Returns:

the key value.

name

public String name()

Get the name property: The name of the API key.

Returns:

the name value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

Applies to