Share via


MetadataEntity Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.models.MetadataEntity

Implements

public final class MetadataEntity
implements JsonSerializable<MetadataEntity>

Metadata of the data record.

Constructor Summary

Constructor Description
MetadataEntity()

Creates an instance of MetadataEntity class.

Method Summary

Modifier and Type Method and Description
String createdAt()

Get the createdAt property: Created Date Time.

String deletedAt()

Get the deletedAt property: Deleted Date time.

static MetadataEntity fromJson(JsonReader jsonReader)

Reads an instance of MetadataEntity from the JsonReader.

String resourceName()

Get the resourceName property: Resource name of the record.

String self()

Get the self property: Self lookup url.

JsonWriter toJson(JsonWriter jsonWriter)
String updatedAt()

Get the updatedAt property: Updated Date time.

void validate()

Validates the instance.

MetadataEntity withCreatedAt(String createdAt)

Set the createdAt property: Created Date Time.

MetadataEntity withDeletedAt(String deletedAt)

Set the deletedAt property: Deleted Date time.

MetadataEntity withResourceName(String resourceName)

Set the resourceName property: Resource name of the record.

MetadataEntity withSelf(String self)

Set the self property: Self lookup url.

MetadataEntity withUpdatedAt(String updatedAt)

Set the updatedAt property: Updated Date time.

Methods inherited from java.lang.Object

Constructor Details

MetadataEntity

public MetadataEntity()

Creates an instance of MetadataEntity class.

Method Details

createdAt

public String createdAt()

Get the createdAt property: Created Date Time.

Returns:

the createdAt value.

deletedAt

public String deletedAt()

Get the deletedAt property: Deleted Date time.

Returns:

the deletedAt value.

fromJson

public static MetadataEntity fromJson(JsonReader jsonReader)

Reads an instance of MetadataEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MetadataEntity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MetadataEntity.

resourceName

public String resourceName()

Get the resourceName property: Resource name of the record.

Returns:

the resourceName value.

self

public String self()

Get the self property: Self lookup url.

Returns:

the self value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

updatedAt

public String updatedAt()

Get the updatedAt property: Updated Date time.

Returns:

the updatedAt value.

validate

public void validate()

Validates the instance.

withCreatedAt

public MetadataEntity withCreatedAt(String createdAt)

Set the createdAt property: Created Date Time.

Parameters:

createdAt - the createdAt value to set.

Returns:

the MetadataEntity object itself.

withDeletedAt

public MetadataEntity withDeletedAt(String deletedAt)

Set the deletedAt property: Deleted Date time.

Parameters:

deletedAt - the deletedAt value to set.

Returns:

the MetadataEntity object itself.

withResourceName

public MetadataEntity withResourceName(String resourceName)

Set the resourceName property: Resource name of the record.

Parameters:

resourceName - the resourceName value to set.

Returns:

the MetadataEntity object itself.

withSelf

public MetadataEntity withSelf(String self)

Set the self property: Self lookup url.

Parameters:

self - the self value to set.

Returns:

the MetadataEntity object itself.

withUpdatedAt

public MetadataEntity withUpdatedAt(String updatedAt)

Set the updatedAt property: Updated Date time.

Parameters:

updatedAt - the updatedAt value to set.

Returns:

the MetadataEntity object itself.

Applies to