Package com.io7m.brooklime.api
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBLStagingProfileRepository.BuilderBuilds instances of typeBLStagingProfileRepository.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BLStagingProfileRepository.Builderbuilder()Creates a builder forBLStagingProfileRepository.static BLStagingProfileRepositorycopyOf(BLStagingProfileRepositoryType instance)Creates an immutable copy of aBLStagingProfileRepositoryTypevalue.java.time.OffsetDateTimecreated()java.lang.Stringdescription()booleanequals(java.lang.Object another)This instance is equal to all instances ofBLStagingProfileRepositorythat have equal attribute values.inthashCode()Computes a hash code from attributes:profileId,profileName,profileType,repositoryId,type,policy,userId,userAgent,ipAddress,repositoryURI,created,updated,description,provider,releaseRepositoryId,releaseRepositoryName,notifications,transitioning.java.lang.StringipAddress()java.lang.Stringnotifications()java.lang.Stringpolicy()java.lang.StringprofileId()java.lang.StringprofileName()java.lang.StringprofileType()java.lang.Stringprovider()java.lang.StringreleaseRepositoryId()java.lang.StringreleaseRepositoryName()java.lang.StringrepositoryId()java.net.URIrepositoryURI()java.lang.StringtoString()Prints the immutable valueBLStagingProfileRepositorywith attribute values.booleantransitioning()java.lang.Stringtype()java.time.OffsetDateTimeupdated()java.lang.StringuserAgent()java.lang.StringuserId()BLStagingProfileRepositorywithCreated(java.time.OffsetDateTime value)Copy the current immutable object by setting a value for thecreatedattribute.BLStagingProfileRepositorywithDescription(java.lang.String value)Copy the current immutable object by setting a value for thedescriptionattribute.BLStagingProfileRepositorywithIpAddress(java.lang.String value)Copy the current immutable object by setting a value for theipAddressattribute.BLStagingProfileRepositorywithNotifications(java.lang.String value)Copy the current immutable object by setting a value for thenotificationsattribute.BLStagingProfileRepositorywithPolicy(java.lang.String value)Copy the current immutable object by setting a value for thepolicyattribute.BLStagingProfileRepositorywithProfileId(java.lang.String value)Copy the current immutable object by setting a value for theprofileIdattribute.BLStagingProfileRepositorywithProfileName(java.lang.String value)Copy the current immutable object by setting a value for theprofileNameattribute.BLStagingProfileRepositorywithProfileType(java.lang.String value)Copy the current immutable object by setting a value for theprofileTypeattribute.BLStagingProfileRepositorywithProvider(java.lang.String value)Copy the current immutable object by setting a value for theproviderattribute.BLStagingProfileRepositorywithReleaseRepositoryId(java.lang.String value)Copy the current immutable object by setting a value for thereleaseRepositoryIdattribute.BLStagingProfileRepositorywithReleaseRepositoryName(java.lang.String value)Copy the current immutable object by setting a value for thereleaseRepositoryNameattribute.BLStagingProfileRepositorywithRepositoryId(java.lang.String value)Copy the current immutable object by setting a value for therepositoryIdattribute.BLStagingProfileRepositorywithRepositoryURI(java.net.URI value)Copy the current immutable object by setting a value for therepositoryURIattribute.BLStagingProfileRepositorywithTransitioning(boolean value)Copy the current immutable object by setting a value for thetransitioningattribute.BLStagingProfileRepositorywithType(java.lang.String value)Copy the current immutable object by setting a value for thetypeattribute.BLStagingProfileRepositorywithUpdated(java.time.OffsetDateTime value)Copy the current immutable object by setting a value for theupdatedattribute.BLStagingProfileRepositorywithUserAgent(java.lang.String value)Copy the current immutable object by setting a value for theuserAgentattribute.BLStagingProfileRepositorywithUserId(java.lang.String value)Copy the current immutable object by setting a value for theuserIdattribute.
-
-
-
Method Detail
-
profileId
public java.lang.String profileId()
- Specified by:
profileIdin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
profileIdattribute
-
profileName
public java.lang.String profileName()
- Specified by:
profileNamein interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
profileNameattribute
-
profileType
public java.lang.String profileType()
- Specified by:
profileTypein interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
profileTypeattribute
-
repositoryId
public java.lang.String repositoryId()
- Specified by:
repositoryIdin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
repositoryIdattribute
-
type
public java.lang.String type()
- Specified by:
typein interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
typeattribute
-
policy
public java.lang.String policy()
- Specified by:
policyin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
policyattribute
-
userId
public java.lang.String userId()
- Specified by:
userIdin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
userIdattribute
-
userAgent
public java.lang.String userAgent()
- Specified by:
userAgentin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
userAgentattribute
-
ipAddress
public java.lang.String ipAddress()
- Specified by:
ipAddressin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
ipAddressattribute
-
repositoryURI
public java.net.URI repositoryURI()
- Specified by:
repositoryURIin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
repositoryURIattribute
-
created
public java.time.OffsetDateTime created()
- Specified by:
createdin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
createdattribute
-
updated
public java.time.OffsetDateTime updated()
- Specified by:
updatedin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
updatedattribute
-
description
public java.lang.String description()
- Specified by:
descriptionin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
descriptionattribute
-
provider
public java.lang.String provider()
- Specified by:
providerin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
providerattribute
-
releaseRepositoryId
public java.lang.String releaseRepositoryId()
- Specified by:
releaseRepositoryIdin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
releaseRepositoryIdattribute
-
releaseRepositoryName
public java.lang.String releaseRepositoryName()
- Specified by:
releaseRepositoryNamein interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
releaseRepositoryNameattribute
-
notifications
public java.lang.String notifications()
- Specified by:
notificationsin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
notificationsattribute
-
transitioning
public boolean transitioning()
- Specified by:
transitioningin interfaceBLStagingProfileRepositoryType- Returns:
- The value of the
transitioningattribute
-
withProfileId
public final BLStagingProfileRepository withProfileId(java.lang.String value)
Copy the current immutable object by setting a value for theprofileIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for profileId- Returns:
- A modified copy of the
thisobject
-
withProfileName
public final BLStagingProfileRepository withProfileName(java.lang.String value)
Copy the current immutable object by setting a value for theprofileNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for profileName- Returns:
- A modified copy of the
thisobject
-
withProfileType
public final BLStagingProfileRepository withProfileType(java.lang.String value)
Copy the current immutable object by setting a value for theprofileTypeattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for profileType- Returns:
- A modified copy of the
thisobject
-
withRepositoryId
public final BLStagingProfileRepository withRepositoryId(java.lang.String value)
Copy the current immutable object by setting a value for therepositoryIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for repositoryId- Returns:
- A modified copy of the
thisobject
-
withType
public final BLStagingProfileRepository withType(java.lang.String value)
Copy the current immutable object by setting a value for thetypeattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy of the
thisobject
-
withPolicy
public final BLStagingProfileRepository withPolicy(java.lang.String value)
Copy the current immutable object by setting a value for thepolicyattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for policy- Returns:
- A modified copy of the
thisobject
-
withUserId
public final BLStagingProfileRepository withUserId(java.lang.String value)
Copy the current immutable object by setting a value for theuserIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for userId- Returns:
- A modified copy of the
thisobject
-
withUserAgent
public final BLStagingProfileRepository withUserAgent(java.lang.String value)
Copy the current immutable object by setting a value for theuserAgentattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for userAgent- Returns:
- A modified copy of the
thisobject
-
withIpAddress
public final BLStagingProfileRepository withIpAddress(java.lang.String value)
Copy the current immutable object by setting a value for theipAddressattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for ipAddress- Returns:
- A modified copy of the
thisobject
-
withRepositoryURI
public final BLStagingProfileRepository withRepositoryURI(java.net.URI value)
Copy the current immutable object by setting a value for therepositoryURIattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for repositoryURI- Returns:
- A modified copy of the
thisobject
-
withCreated
public final BLStagingProfileRepository withCreated(java.time.OffsetDateTime value)
Copy the current immutable object by setting a value for thecreatedattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for created- Returns:
- A modified copy of the
thisobject
-
withUpdated
public final BLStagingProfileRepository withUpdated(java.time.OffsetDateTime value)
Copy the current immutable object by setting a value for theupdatedattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for updated- Returns:
- A modified copy of the
thisobject
-
withDescription
public final BLStagingProfileRepository withDescription(java.lang.String value)
Copy the current immutable object by setting a value for thedescriptionattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for description- Returns:
- A modified copy of the
thisobject
-
withProvider
public final BLStagingProfileRepository withProvider(java.lang.String value)
Copy the current immutable object by setting a value for theproviderattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for provider- Returns:
- A modified copy of the
thisobject
-
withReleaseRepositoryId
public final BLStagingProfileRepository withReleaseRepositoryId(java.lang.String value)
Copy the current immutable object by setting a value for thereleaseRepositoryIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for releaseRepositoryId- Returns:
- A modified copy of the
thisobject
-
withReleaseRepositoryName
public final BLStagingProfileRepository withReleaseRepositoryName(java.lang.String value)
Copy the current immutable object by setting a value for thereleaseRepositoryNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for releaseRepositoryName- Returns:
- A modified copy of the
thisobject
-
withNotifications
public final BLStagingProfileRepository withNotifications(java.lang.String value)
Copy the current immutable object by setting a value for thenotificationsattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for notifications- Returns:
- A modified copy of the
thisobject
-
withTransitioning
public final BLStagingProfileRepository withTransitioning(boolean value)
Copy the current immutable object by setting a value for thetransitioningattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for transitioning- Returns:
- A modified copy of the
thisobject
-
equals
public boolean equals(java.lang.Object another)
This instance is equal to all instances ofBLStagingProfileRepositorythat have equal attribute values.- Overrides:
equalsin classjava.lang.Object- Returns:
trueifthisis equal toanotherinstance
-
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:
hashCodein classjava.lang.Object- Returns:
- hashCode value
-
toString
public java.lang.String toString()
Prints the immutable valueBLStagingProfileRepositorywith attribute values.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the value
-
copyOf
public static BLStagingProfileRepository copyOf(BLStagingProfileRepositoryType instance)
Creates an immutable copy of aBLStagingProfileRepositoryTypevalue. 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 forBLStagingProfileRepository.BLStagingProfileRepository.builder() .setProfileId(String) // requiredprofileId.setProfileName(String) // requiredprofileName.setProfileType(String) // requiredprofileType.setRepositoryId(String) // requiredrepositoryId.setType(String) // requiredtype.setPolicy(String) // requiredpolicy.setUserId(String) // requireduserId.setUserAgent(String) // requireduserAgent.setIpAddress(String) // requiredipAddress.setRepositoryURI(java.net.URI) // requiredrepositoryURI.setCreated(java.time.OffsetDateTime) // requiredcreated.setUpdated(java.time.OffsetDateTime) // requiredupdated.setDescription(String) // requireddescription.setProvider(String) // requiredprovider.setReleaseRepositoryId(String) // requiredreleaseRepositoryId.setReleaseRepositoryName(String) // requiredreleaseRepositoryName.setNotifications(String) // requirednotifications.setTransitioning(boolean) // requiredtransitioning.build();- Returns:
- A new BLStagingProfileRepository builder
-
-