SystemDataAutoGenerated Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.SystemDataAutoGenerated

Implements

public final class SystemDataAutoGenerated
implements JsonSerializable<SystemDataAutoGenerated>

The SystemDataAutoGenerated model.

Constructor Summary

Constructor Description
SystemDataAutoGenerated()

Creates an instance of SystemDataAutoGenerated class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdAt()

Get the createdAt property: The createdAt property.

String createdBy()

Get the createdBy property: The createdBy property.

CreatedByType createdByType()

Get the createdByType property: The type of identity that created the resource.

static SystemDataAutoGenerated fromJson(JsonReader jsonReader)

Reads an instance of SystemDataAutoGenerated from the JsonReader.

OffsetDateTime lastModifiedAt()

Get the lastModifiedAt property: The lastModifiedAt property.

String lastModifiedBy()

Get the lastModifiedBy property: The lastModifiedBy property.

CreatedByType lastModifiedByType()

Get the lastModifiedByType property: The type of identity that created the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SystemDataAutoGenerated withCreatedAt(OffsetDateTime createdAt)

Set the createdAt property: The createdAt property.

SystemDataAutoGenerated withCreatedBy(String createdBy)

Set the createdBy property: The createdBy property.

SystemDataAutoGenerated withCreatedByType(CreatedByType createdByType)

Set the createdByType property: The type of identity that created the resource.

SystemDataAutoGenerated withLastModifiedAt(OffsetDateTime lastModifiedAt)

Set the lastModifiedAt property: The lastModifiedAt property.

SystemDataAutoGenerated withLastModifiedBy(String lastModifiedBy)

Set the lastModifiedBy property: The lastModifiedBy property.

SystemDataAutoGenerated withLastModifiedByType(CreatedByType lastModifiedByType)

Set the lastModifiedByType property: The type of identity that created the resource.

Methods inherited from java.lang.Object

Constructor Details

SystemDataAutoGenerated

public SystemDataAutoGenerated()

Creates an instance of SystemDataAutoGenerated class.

Method Details

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: The createdAt property.

Returns:

the createdAt value.

createdBy

public String createdBy()

Get the createdBy property: The createdBy property.

Returns:

the createdBy value.

createdByType

public CreatedByType createdByType()

Get the createdByType property: The type of identity that created the resource.

Returns:

the createdByType value.

fromJson

public static SystemDataAutoGenerated fromJson(JsonReader jsonReader)

Reads an instance of SystemDataAutoGenerated from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastModifiedAt

public OffsetDateTime lastModifiedAt()

Get the lastModifiedAt property: The lastModifiedAt property.

Returns:

the lastModifiedAt value.

lastModifiedBy

public String lastModifiedBy()

Get the lastModifiedBy property: The lastModifiedBy property.

Returns:

the lastModifiedBy value.

lastModifiedByType

public CreatedByType lastModifiedByType()

Get the lastModifiedByType property: The type of identity that created the resource.

Returns:

the lastModifiedByType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCreatedAt

public SystemDataAutoGenerated withCreatedAt(OffsetDateTime createdAt)

Set the createdAt property: The createdAt property.

Parameters:

createdAt - the createdAt value to set.

Returns:

the SystemDataAutoGenerated object itself.

withCreatedBy

public SystemDataAutoGenerated withCreatedBy(String createdBy)

Set the createdBy property: The createdBy property.

Parameters:

createdBy - the createdBy value to set.

Returns:

the SystemDataAutoGenerated object itself.

withCreatedByType

public SystemDataAutoGenerated withCreatedByType(CreatedByType createdByType)

Set the createdByType property: The type of identity that created the resource.

Parameters:

createdByType - the createdByType value to set.

Returns:

the SystemDataAutoGenerated object itself.

withLastModifiedAt

public SystemDataAutoGenerated withLastModifiedAt(OffsetDateTime lastModifiedAt)

Set the lastModifiedAt property: The lastModifiedAt property.

Parameters:

lastModifiedAt - the lastModifiedAt value to set.

Returns:

the SystemDataAutoGenerated object itself.

withLastModifiedBy

public SystemDataAutoGenerated withLastModifiedBy(String lastModifiedBy)

Set the lastModifiedBy property: The lastModifiedBy property.

Parameters:

lastModifiedBy - the lastModifiedBy value to set.

Returns:

the SystemDataAutoGenerated object itself.

withLastModifiedByType

public SystemDataAutoGenerated withLastModifiedByType(CreatedByType lastModifiedByType)

Set the lastModifiedByType property: The type of identity that created the resource.

Parameters:

lastModifiedByType - the lastModifiedByType value to set.

Returns:

the SystemDataAutoGenerated object itself.

Applies to