Class BLStagingProfileRepository

java.lang.Object
com.io7m.brooklime.api.BLStagingProfileRepository
All Implemented Interfaces:
BLStagingProfileRepositoryType

public final class BLStagingProfileRepository
extends java.lang.Object
implements BLStagingProfileRepositoryType
A description of a staging repository.
  • Method Details

    • profileId

      public java.lang.String profileId()
      Specified by:
      profileId in interface BLStagingProfileRepositoryType
      Returns:
      The value of the profileId attribute
    • profileName

      public java.lang.String profileName()
      Specified by:
      profileName in interface BLStagingProfileRepositoryType
      Returns:
      The value of the profileName attribute
    • profileType

      public java.lang.String profileType()
      Specified by:
      profileType in interface BLStagingProfileRepositoryType
      Returns:
      The value of the profileType attribute
    • repositoryId

      public java.lang.String repositoryId()
      Specified by:
      repositoryId in interface BLStagingProfileRepositoryType
      Returns:
      The value of the repositoryId attribute
    • type

      public java.lang.String type()
      Specified by:
      type in interface BLStagingProfileRepositoryType
      Returns:
      The value of the type attribute
    • policy

      public java.lang.String policy()
      Specified by:
      policy in interface BLStagingProfileRepositoryType
      Returns:
      The value of the policy attribute
    • userId

      public java.lang.String userId()
      Specified by:
      userId in interface BLStagingProfileRepositoryType
      Returns:
      The value of the userId attribute
    • userAgent

      public java.lang.String userAgent()
      Specified by:
      userAgent in interface BLStagingProfileRepositoryType
      Returns:
      The value of the userAgent attribute
    • ipAddress

      public java.lang.String ipAddress()
      Specified by:
      ipAddress in interface BLStagingProfileRepositoryType
      Returns:
      The value of the ipAddress attribute
    • repositoryURI

      public java.net.URI repositoryURI()
      Specified by:
      repositoryURI in interface BLStagingProfileRepositoryType
      Returns:
      The value of the repositoryURI attribute
    • created

      public java.time.OffsetDateTime created()
      Specified by:
      created in interface BLStagingProfileRepositoryType
      Returns:
      The value of the created attribute
    • updated

      public java.time.OffsetDateTime updated()
      Specified by:
      updated in interface BLStagingProfileRepositoryType
      Returns:
      The value of the updated attribute
    • description

      public java.lang.String description()
      Specified by:
      description in interface BLStagingProfileRepositoryType
      Returns:
      The value of the description attribute
    • provider

      public java.lang.String provider()
      Specified by:
      provider in interface BLStagingProfileRepositoryType
      Returns:
      The value of the provider attribute
    • releaseRepositoryId

      public java.lang.String releaseRepositoryId()
      Specified by:
      releaseRepositoryId in interface BLStagingProfileRepositoryType
      Returns:
      The value of the releaseRepositoryId attribute
    • releaseRepositoryName

      public java.lang.String releaseRepositoryName()
      Specified by:
      releaseRepositoryName in interface BLStagingProfileRepositoryType
      Returns:
      The value of the releaseRepositoryName attribute
    • notifications

      public java.lang.String notifications()
      Specified by:
      notifications in interface BLStagingProfileRepositoryType
      Returns:
      The value of the notifications attribute
    • transitioning

      public boolean transitioning()
      Specified by:
      transitioning in interface BLStagingProfileRepositoryType
      Returns:
      The value of the transitioning attribute
    • withProfileId

      public final BLStagingProfileRepository withProfileId​(java.lang.String value)
      Copy the current immutable object by setting a value for the profileId attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for profileId
      Returns:
      A modified copy of the this object
    • withProfileName

      public final BLStagingProfileRepository withProfileName​(java.lang.String value)
      Copy the current immutable object by setting a value for the profileName attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for profileName
      Returns:
      A modified copy of the this object
    • withProfileType

      public final BLStagingProfileRepository withProfileType​(java.lang.String value)
      Copy the current immutable object by setting a value for the profileType attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for profileType
      Returns:
      A modified copy of the this object
    • withRepositoryId

      public final BLStagingProfileRepository withRepositoryId​(java.lang.String value)
      Copy the current immutable object by setting a value for the repositoryId attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for repositoryId
      Returns:
      A modified copy of the this object
    • withType

      public final BLStagingProfileRepository withType​(java.lang.String value)
      Copy the current immutable object by setting a value for the type attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for type
      Returns:
      A modified copy of the this object
    • withPolicy

      public final BLStagingProfileRepository withPolicy​(java.lang.String value)
      Copy the current immutable object by setting a value for the policy attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for policy
      Returns:
      A modified copy of the this object
    • withUserId

      public final BLStagingProfileRepository withUserId​(java.lang.String value)
      Copy the current immutable object by setting a value for the userId attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for userId
      Returns:
      A modified copy of the this object
    • withUserAgent

      public final BLStagingProfileRepository withUserAgent​(java.lang.String value)
      Copy the current immutable object by setting a value for the userAgent attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for userAgent
      Returns:
      A modified copy of the this object
    • withIpAddress

      public final BLStagingProfileRepository withIpAddress​(java.lang.String value)
      Copy the current immutable object by setting a value for the ipAddress attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for ipAddress
      Returns:
      A modified copy of the this object
    • withRepositoryURI

      public final BLStagingProfileRepository withRepositoryURI​(java.net.URI value)
      Copy the current immutable object by setting a value for the repositoryURI attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for repositoryURI
      Returns:
      A modified copy of the this object
    • withCreated

      public final BLStagingProfileRepository withCreated​(java.time.OffsetDateTime value)
      Copy the current immutable object by setting a value for the created attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for created
      Returns:
      A modified copy of the this object
    • withUpdated

      public final BLStagingProfileRepository withUpdated​(java.time.OffsetDateTime value)
      Copy the current immutable object by setting a value for the updated attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for updated
      Returns:
      A modified copy of the this object
    • withDescription

      public final BLStagingProfileRepository withDescription​(java.lang.String value)
      Copy the current immutable object by setting a value for the description attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for description
      Returns:
      A modified copy of the this object
    • withProvider

      public final BLStagingProfileRepository withProvider​(java.lang.String value)
      Copy the current immutable object by setting a value for the provider attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for provider
      Returns:
      A modified copy of the this object
    • withReleaseRepositoryId

      public final BLStagingProfileRepository withReleaseRepositoryId​(java.lang.String value)
      Copy the current immutable object by setting a value for the releaseRepositoryId attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for releaseRepositoryId
      Returns:
      A modified copy of the this object
    • withReleaseRepositoryName

      public final BLStagingProfileRepository withReleaseRepositoryName​(java.lang.String value)
      Copy the current immutable object by setting a value for the releaseRepositoryName attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for releaseRepositoryName
      Returns:
      A modified copy of the this object
    • withNotifications

      public final BLStagingProfileRepository withNotifications​(java.lang.String value)
      Copy the current immutable object by setting a value for the notifications attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for notifications
      Returns:
      A modified copy of the this object
    • withTransitioning

      public final BLStagingProfileRepository withTransitioning​(boolean value)
      Copy the current immutable object by setting a value for the transitioning attribute. A value equality check is used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for transitioning
      Returns:
      A modified copy of the this object
    • equals

      public boolean equals​(java.lang.Object another)
      This instance is equal to all instances of BLStagingProfileRepository that have equal attribute values.
      Overrides:
      equals in class java.lang.Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: profileId, profileName, profileType, repositoryId, type, policy, userId, userAgent, ipAddress, repositoryURI, created, updated, description, provider, releaseRepositoryId, releaseRepositoryName, notifications, transitioning.
      Overrides:
      hashCode in class java.lang.Object
      Returns:
      hashCode value
    • toString

      public java.lang.String toString()
      Prints the immutable value BLStagingProfileRepository with attribute values.
      Overrides:
      toString in class java.lang.Object
      Returns:
      A string representation of the value
    • copyOf

      public static BLStagingProfileRepository copyOf​(BLStagingProfileRepositoryType instance)
      Creates an immutable copy of a BLStagingProfileRepositoryType value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
      Parameters:
      instance - The instance to copy
      Returns:
      A copied immutable BLStagingProfileRepository instance
    • builder

      public static BLStagingProfileRepository.Builder builder()
      Creates a builder for BLStagingProfileRepository.
       BLStagingProfileRepository.builder()
          .setProfileId(String) // required profileId
          .setProfileName(String) // required profileName
          .setProfileType(String) // required profileType
          .setRepositoryId(String) // required repositoryId
          .setType(String) // required type
          .setPolicy(String) // required policy
          .setUserId(String) // required userId
          .setUserAgent(String) // required userAgent
          .setIpAddress(String) // required ipAddress
          .setRepositoryURI(java.net.URI) // required repositoryURI
          .setCreated(java.time.OffsetDateTime) // required created
          .setUpdated(java.time.OffsetDateTime) // required updated
          .setDescription(String) // required description
          .setProvider(String) // required provider
          .setReleaseRepositoryId(String) // required releaseRepositoryId
          .setReleaseRepositoryName(String) // required releaseRepositoryName
          .setNotifications(String) // required notifications
          .setTransitioning(boolean) // required transitioning
          .build();
       
      Returns:
      A new BLStagingProfileRepository builder