Class SubscriptionMapping.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public SubscriptionMapping.Builder id​(String id)
        OCID of the mapping between subscription and compartment identified by the tenancy.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • subscriptionId

        public SubscriptionMapping.Builder subscriptionId​(String subscriptionId)
        OCID of the subscription.
        Parameters:
        subscriptionId - the value to set
        Returns:
        this builder
      • compartmentId

        public SubscriptionMapping.Builder compartmentId​(String compartmentId)
        OCID of the compartment.

        Always a tenancy OCID.

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • isExplicitlyAssigned

        public SubscriptionMapping.Builder isExplicitlyAssigned​(Boolean isExplicitlyAssigned)
        Denotes if the subscription is explicity assigned to the root compartment or tenancy.
        Parameters:
        isExplicitlyAssigned - the value to set
        Returns:
        this builder
      • timeTerminated

        public SubscriptionMapping.Builder timeTerminated​(Date timeTerminated)
        Date-time when subscription mapping was terminated.
        Parameters:
        timeTerminated - the value to set
        Returns:
        this builder
      • timeCreated

        public SubscriptionMapping.Builder timeCreated​(Date timeCreated)
        Date-time when subscription mapping was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public SubscriptionMapping.Builder timeUpdated​(Date timeUpdated)
        Date-time when subscription mapping was updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder