Share via


SCMetadataEntity Class

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

Implements

public final class SCMetadataEntity
implements JsonSerializable<SCMetadataEntity>

Metadata of the data record.

Constructor Summary

Constructor Description
SCMetadataEntity()

Creates an instance of SCMetadataEntity class.

Method Summary

Modifier and Type Method and Description
String createdTimestamp()

Get the createdTimestamp property: Created Date Time.

String deletedTimestamp()

Get the deletedTimestamp property: Deleted Date time.

static SCMetadataEntity fromJson(JsonReader jsonReader)

Reads an instance of SCMetadataEntity 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 updatedTimestamp()

Get the updatedTimestamp property: Updated Date time.

void validate()

Validates the instance.

SCMetadataEntity withCreatedTimestamp(String createdTimestamp)

Set the createdTimestamp property: Created Date Time.

SCMetadataEntity withDeletedTimestamp(String deletedTimestamp)

Set the deletedTimestamp property: Deleted Date time.

SCMetadataEntity withResourceName(String resourceName)

Set the resourceName property: Resource name of the record.

SCMetadataEntity withSelf(String self)

Set the self property: Self lookup url.

SCMetadataEntity withUpdatedTimestamp(String updatedTimestamp)

Set the updatedTimestamp property: Updated Date time.

Methods inherited from java.lang.Object

Constructor Details

SCMetadataEntity

public SCMetadataEntity()

Creates an instance of SCMetadataEntity class.

Method Details

createdTimestamp

public String createdTimestamp()

Get the createdTimestamp property: Created Date Time.

Returns:

the createdTimestamp value.

deletedTimestamp

public String deletedTimestamp()

Get the deletedTimestamp property: Deleted Date time.

Returns:

the deletedTimestamp value.

fromJson

public static SCMetadataEntity fromJson(JsonReader jsonReader)

Reads an instance of SCMetadataEntity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SCMetadataEntity 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 SCMetadataEntity.

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:

updatedTimestamp

public String updatedTimestamp()

Get the updatedTimestamp property: Updated Date time.

Returns:

the updatedTimestamp value.

validate

public void validate()

Validates the instance.

withCreatedTimestamp

public SCMetadataEntity withCreatedTimestamp(String createdTimestamp)

Set the createdTimestamp property: Created Date Time.

Parameters:

createdTimestamp - the createdTimestamp value to set.

Returns:

the SCMetadataEntity object itself.

withDeletedTimestamp

public SCMetadataEntity withDeletedTimestamp(String deletedTimestamp)

Set the deletedTimestamp property: Deleted Date time.

Parameters:

deletedTimestamp - the deletedTimestamp value to set.

Returns:

the SCMetadataEntity object itself.

withResourceName

public SCMetadataEntity withResourceName(String resourceName)

Set the resourceName property: Resource name of the record.

Parameters:

resourceName - the resourceName value to set.

Returns:

the SCMetadataEntity object itself.

withSelf

public SCMetadataEntity withSelf(String self)

Set the self property: Self lookup url.

Parameters:

self - the self value to set.

Returns:

the SCMetadataEntity object itself.

withUpdatedTimestamp

public SCMetadataEntity withUpdatedTimestamp(String updatedTimestamp)

Set the updatedTimestamp property: Updated Date time.

Parameters:

updatedTimestamp - the updatedTimestamp value to set.

Returns:

the SCMetadataEntity object itself.

Applies to