public static class JavaFamily.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JavaFamily |
build() |
JavaFamily.Builder |
copy(JavaFamily model) |
JavaFamily.Builder |
displayName(String displayName)
The display name of the release family.
|
JavaFamily.Builder |
docUrl(String docUrl)
Link to access the documentation for the release.
|
JavaFamily.Builder |
endOfSupportLifeDate(Date endOfSupportLifeDate)
The End of Support Life (EOSL) date of the Java release family (formatted according to
RFC3339).
|
JavaFamily.Builder |
familyVersion(String familyVersion)
The Java release family identifier.
|
JavaFamily.Builder |
isSupportedVersion(Boolean isSupportedVersion)
Whether or not this Java release family is under active support.
|
JavaFamily.Builder |
latestReleaseArtifacts(List<JavaArtifact> latestReleaseArtifacts)
List of artifacts for the latest Java release version in this family.
|
JavaFamily.Builder |
latestReleaseVersion(String latestReleaseVersion)
Latest Java release version in the family.
|
JavaFamily.Builder |
releaseDate(Date releaseDate)
The date on which the Java release family was first made available (formatted according
to RFC3339).
|
JavaFamily.Builder |
supportType(SupportType supportType)
This indicates the support category for the Java release family.
|
public JavaFamily.Builder latestReleaseArtifacts(List<JavaArtifact> latestReleaseArtifacts)
List of artifacts for the latest Java release version in this family. The script URLs in the response can be used from a command line, or in scripts and dockerfiles to always get the artifacts corresponding to the latest update release version.
latestReleaseArtifacts
- the value to setpublic JavaFamily.Builder familyVersion(String familyVersion)
The Java release family identifier.
familyVersion
- the value to setpublic JavaFamily.Builder displayName(String displayName)
The display name of the release family.
displayName
- the value to setpublic JavaFamily.Builder supportType(SupportType supportType)
This indicates the support category for the Java release family.
supportType
- the value to setpublic JavaFamily.Builder endOfSupportLifeDate(Date endOfSupportLifeDate)
The End of Support Life (EOSL) date of the Java release family (formatted according to RFC3339).
endOfSupportLifeDate
- the value to setpublic JavaFamily.Builder docUrl(String docUrl)
Link to access the documentation for the release.
docUrl
- the value to setpublic JavaFamily.Builder latestReleaseVersion(String latestReleaseVersion)
Latest Java release version in the family.
latestReleaseVersion
- the value to setpublic JavaFamily.Builder isSupportedVersion(Boolean isSupportedVersion)
Whether or not this Java release family is under active support. Refer Java Support Roadmap for more details.
isSupportedVersion
- the value to setpublic JavaFamily.Builder releaseDate(Date releaseDate)
The date on which the Java release family was first made available (formatted according to RFC3339).
releaseDate
- the value to setpublic JavaFamily build()
public JavaFamily.Builder copy(JavaFamily model)
Copyright © 2016–2024. All rights reserved.