Record Class BackendDockerfileDto

java.lang.Object
java.lang.Record
com.winchesters.devopsify.dto.request.BackendDockerfileDto

public record BackendDockerfileDto(String baseBuildImageName, String baseBuildImageVersion, String baseBuildJdkType, String jdkImageName, String jdkVersion, String jdkBaseOsName, String workdir, String port, String jarName, Boolean buildOnly) extends Record
  • Constructor Details

    • BackendDockerfileDto

      public BackendDockerfileDto(String baseBuildImageName, String baseBuildImageVersion, String baseBuildJdkType, String jdkImageName, String jdkVersion, String jdkBaseOsName, String workdir, String port, String jarName, Boolean buildOnly)
      Creates an instance of a BackendDockerfileDto record class.
      Parameters:
      baseBuildImageName - the value for the baseBuildImageName record component
      baseBuildImageVersion - the value for the baseBuildImageVersion record component
      baseBuildJdkType - the value for the baseBuildJdkType record component
      jdkImageName - the value for the jdkImageName record component
      jdkVersion - the value for the jdkVersion record component
      jdkBaseOsName - the value for the jdkBaseOsName record component
      workdir - the value for the workdir record component
      port - the value for the port record component
      jarName - the value for the jarName record component
      buildOnly - the value for the buildOnly record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • baseBuildImageName

      public String baseBuildImageName()
      Returns the value of the baseBuildImageName record component.
      Returns:
      the value of the baseBuildImageName record component
    • baseBuildImageVersion

      public String baseBuildImageVersion()
      Returns the value of the baseBuildImageVersion record component.
      Returns:
      the value of the baseBuildImageVersion record component
    • baseBuildJdkType

      public String baseBuildJdkType()
      Returns the value of the baseBuildJdkType record component.
      Returns:
      the value of the baseBuildJdkType record component
    • jdkImageName

      public String jdkImageName()
      Returns the value of the jdkImageName record component.
      Returns:
      the value of the jdkImageName record component
    • jdkVersion

      public String jdkVersion()
      Returns the value of the jdkVersion record component.
      Returns:
      the value of the jdkVersion record component
    • jdkBaseOsName

      public String jdkBaseOsName()
      Returns the value of the jdkBaseOsName record component.
      Returns:
      the value of the jdkBaseOsName record component
    • workdir

      public String workdir()
      Returns the value of the workdir record component.
      Returns:
      the value of the workdir record component
    • port

      public String port()
      Returns the value of the port record component.
      Returns:
      the value of the port record component
    • jarName

      public String jarName()
      Returns the value of the jarName record component.
      Returns:
      the value of the jarName record component
    • buildOnly

      public Boolean buildOnly()
      Returns the value of the buildOnly record component.
      Returns:
      the value of the buildOnly record component