Class EppResource.Builder<T extends EppResource,​B extends EppResource.Builder<T,​B>>

    • Method Detail

      • setCreationTime

        public B setCreationTime​(org.joda.time.DateTime creationTime)
        Set the time this resource was created.

        Note: This can only be used if the creation time hasn't already been set, which it is in normal EPP flows.

      • setCreationTimeForTest

        public B setCreationTimeForTest​(org.joda.time.DateTime creationTime)
        Set the time this resource was created. Should only be used in tests.
      • setDeletionTime

        public B setDeletionTime​(org.joda.time.DateTime deletionTime)
        Set the time after which this resource should be considered deleted.
      • setPersistedCurrentSponsorClientId

        public B setPersistedCurrentSponsorClientId​(java.lang.String currentSponsorClientId)
        Set the current sponsoring registrar.
      • setCreationClientId

        public B setCreationClientId​(java.lang.String creationClientId)
        Set the registrar that created this resource.
      • setLastEppUpdateTime

        public B setLastEppUpdateTime​(org.joda.time.DateTime lastEppUpdateTime)
        Set the time when a <update> was performed on this resource.
      • setLastEppUpdateClientId

        public B setLastEppUpdateClientId​(java.lang.String lastEppUpdateClientId)
        Set the registrar who last performed a <update> on this resource.
      • setStatusValues

        public B setStatusValues​(com.google.common.collect.ImmutableSet<StatusValue> statusValues)
        Set this resource's status values.
      • addStatusValue

        public B addStatusValue​(StatusValue statusValue)
        Add to this resource's status values.
      • removeStatusValue

        public B removeStatusValue​(StatusValue statusValue)
        Remove from this resource's status values.
      • addStatusValues

        public B addStatusValues​(com.google.common.collect.ImmutableSet<StatusValue> statusValues)
        Add to this resource's status values.
      • removeStatusValues

        public B removeStatusValues​(com.google.common.collect.ImmutableSet<StatusValue> statusValues)
        Remove from this resource's status values.
      • setRepoId

        public B setRepoId​(java.lang.String repoId)
        Set this resource's repoId.