Package com.io7m.brooklime.api
Class BLStagingProfileRepository.Builder
java.lang.Object
com.io7m.brooklime.api.BLStagingProfileRepository.Builder
- Enclosing class:
- BLStagingProfileRepository
public static final class BLStagingProfileRepository.Builder
extends java.lang.Object
Builds instances of type
BLStagingProfileRepository.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and Type Method Description BLStagingProfileRepositorybuild()Builds a newBLStagingProfileRepository.BLStagingProfileRepository.Builderfrom(BLStagingProfileRepositoryType instance)Fill a builder with attribute values from the providedBLStagingProfileRepositoryTypeinstance.BLStagingProfileRepository.BuildersetCreated(java.time.OffsetDateTime created)Initializes the value for thecreatedattribute.BLStagingProfileRepository.BuildersetDescription(java.lang.String description)Initializes the value for thedescriptionattribute.BLStagingProfileRepository.BuildersetIpAddress(java.lang.String ipAddress)Initializes the value for theipAddressattribute.BLStagingProfileRepository.BuildersetNotifications(java.lang.String notifications)Initializes the value for thenotificationsattribute.BLStagingProfileRepository.BuildersetPolicy(java.lang.String policy)Initializes the value for thepolicyattribute.BLStagingProfileRepository.BuildersetProfileId(java.lang.String profileId)Initializes the value for theprofileIdattribute.BLStagingProfileRepository.BuildersetProfileName(java.lang.String profileName)Initializes the value for theprofileNameattribute.BLStagingProfileRepository.BuildersetProfileType(java.lang.String profileType)Initializes the value for theprofileTypeattribute.BLStagingProfileRepository.BuildersetProvider(java.lang.String provider)Initializes the value for theproviderattribute.BLStagingProfileRepository.BuildersetReleaseRepositoryId(java.lang.String releaseRepositoryId)Initializes the value for thereleaseRepositoryIdattribute.BLStagingProfileRepository.BuildersetReleaseRepositoryName(java.lang.String releaseRepositoryName)Initializes the value for thereleaseRepositoryNameattribute.BLStagingProfileRepository.BuildersetRepositoryId(java.lang.String repositoryId)Initializes the value for therepositoryIdattribute.BLStagingProfileRepository.BuildersetRepositoryURI(java.net.URI repositoryURI)Initializes the value for therepositoryURIattribute.BLStagingProfileRepository.BuildersetTransitioning(boolean transitioning)Initializes the value for thetransitioningattribute.BLStagingProfileRepository.BuildersetType(java.lang.String type)Initializes the value for thetypeattribute.BLStagingProfileRepository.BuildersetUpdated(java.time.OffsetDateTime updated)Initializes the value for theupdatedattribute.BLStagingProfileRepository.BuildersetUserAgent(java.lang.String userAgent)Initializes the value for theuserAgentattribute.BLStagingProfileRepository.BuildersetUserId(java.lang.String userId)Initializes the value for theuserIdattribute.
-
Method Details
-
from
Fill a builder with attribute values from the providedBLStagingProfileRepositoryTypeinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
setProfileId
Initializes the value for theprofileIdattribute.- Parameters:
profileId- The value for profileId- Returns:
thisbuilder for use in a chained invocation
-
setProfileName
Initializes the value for theprofileNameattribute.- Parameters:
profileName- The value for profileName- Returns:
thisbuilder for use in a chained invocation
-
setProfileType
Initializes the value for theprofileTypeattribute.- Parameters:
profileType- The value for profileType- Returns:
thisbuilder for use in a chained invocation
-
setRepositoryId
Initializes the value for therepositoryIdattribute.- Parameters:
repositoryId- The value for repositoryId- Returns:
thisbuilder for use in a chained invocation
-
setType
Initializes the value for thetypeattribute.- Parameters:
type- The value for type- Returns:
thisbuilder for use in a chained invocation
-
setPolicy
Initializes the value for thepolicyattribute.- Parameters:
policy- The value for policy- Returns:
thisbuilder for use in a chained invocation
-
setUserId
Initializes the value for theuserIdattribute.- Parameters:
userId- The value for userId- Returns:
thisbuilder for use in a chained invocation
-
setUserAgent
Initializes the value for theuserAgentattribute.- Parameters:
userAgent- The value for userAgent- Returns:
thisbuilder for use in a chained invocation
-
setIpAddress
Initializes the value for theipAddressattribute.- Parameters:
ipAddress- The value for ipAddress- Returns:
thisbuilder for use in a chained invocation
-
setRepositoryURI
Initializes the value for therepositoryURIattribute.- Parameters:
repositoryURI- The value for repositoryURI- Returns:
thisbuilder for use in a chained invocation
-
setCreated
Initializes the value for thecreatedattribute.- Parameters:
created- The value for created- Returns:
thisbuilder for use in a chained invocation
-
setUpdated
Initializes the value for theupdatedattribute.- Parameters:
updated- The value for updated- Returns:
thisbuilder for use in a chained invocation
-
setDescription
Initializes the value for thedescriptionattribute.- Parameters:
description- The value for description- Returns:
thisbuilder for use in a chained invocation
-
setProvider
Initializes the value for theproviderattribute.- Parameters:
provider- The value for provider- Returns:
thisbuilder for use in a chained invocation
-
setReleaseRepositoryId
public final BLStagingProfileRepository.Builder setReleaseRepositoryId(java.lang.String releaseRepositoryId)Initializes the value for thereleaseRepositoryIdattribute.- Parameters:
releaseRepositoryId- The value for releaseRepositoryId- Returns:
thisbuilder for use in a chained invocation
-
setReleaseRepositoryName
public final BLStagingProfileRepository.Builder setReleaseRepositoryName(java.lang.String releaseRepositoryName)Initializes the value for thereleaseRepositoryNameattribute.- Parameters:
releaseRepositoryName- The value for releaseRepositoryName- Returns:
thisbuilder for use in a chained invocation
-
setNotifications
Initializes the value for thenotificationsattribute.- Parameters:
notifications- The value for notifications- Returns:
thisbuilder for use in a chained invocation
-
setTransitioning
Initializes the value for thetransitioningattribute.- Parameters:
transitioning- The value for transitioning- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newBLStagingProfileRepository.- Returns:
- An immutable instance of BLStagingProfileRepository
- Throws:
java.lang.IllegalStateException- if any required attributes are missing
-