LibraryRequirements.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
/** Spark pool library version requirements Library requirements for a Big Data pool powered by Apache Spark. */
@Fluent
public final class LibraryRequirements {
/*
* The last update time of the library requirements file.
*/
@JsonProperty(value = "time", access = JsonProperty.Access.WRITE_ONLY)
private OffsetDateTime time;
/*
* The library requirements.
*/
@JsonProperty(value = "content")
private String content;
/*
* The filename of the library requirements file.
*/
@JsonProperty(value = "filename")
private String filename;
/**
* Get the time property: The last update time of the library requirements file.
*
* @return the time value.
*/
public OffsetDateTime getTime() {
return this.time;
}
/**
* Get the content property: The library requirements.
*
* @return the content value.
*/
public String getContent() {
return this.content;
}
/**
* Set the content property: The library requirements.
*
* @param content the content value to set.
* @return the LibraryRequirements object itself.
*/
public LibraryRequirements setContent(String content) {
this.content = content;
return this;
}
/**
* Get the filename property: The filename of the library requirements file.
*
* @return the filename value.
*/
public String getFilename() {
return this.filename;
}
/**
* Set the filename property: The filename of the library requirements file.
*
* @param filename the filename value to set.
* @return the LibraryRequirements object itself.
*/
public LibraryRequirements setFilename(String filename) {
this.filename = filename;
return this;
}
}