Class RemotePeeringConnection.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public RemotePeeringConnection.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the RPC.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • definedTags

        public RemotePeeringConnection.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • displayName

        public RemotePeeringConnection.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • freeformTags

        public RemotePeeringConnection.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • isCrossTenancyPeering

        public RemotePeeringConnection.Builder isCrossTenancyPeering​(Boolean isCrossTenancyPeering)
        Whether the VCN at the other end of the peering is in a different tenancy.

        Example: false

        Parameters:
        isCrossTenancyPeering - the value to set
        Returns:
        this builder
      • peerRegionName

        public RemotePeeringConnection.Builder peerRegionName​(String peerRegionName)
        If this RPC is peered, this value is the region that contains the other RPC.

        Example: us-ashburn-1

        Parameters:
        peerRegionName - the value to set
        Returns:
        this builder
      • peerTenancyId

        public RemotePeeringConnection.Builder peerTenancyId​(String peerTenancyId)
        If this RPC is peered, this value is the OCID of the other RPC’s tenancy.
        Parameters:
        peerTenancyId - the value to set
        Returns:
        this builder
      • peeringStatus

        public RemotePeeringConnection.Builder peeringStatus​(RemotePeeringConnection.PeeringStatus peeringStatus)
        Whether the RPC is peered with another RPC.

        NEW means the RPC has not yet been peered. PENDING means the peering is being established. REVOKED means the RPC at the other end of the peering has been deleted.

        Parameters:
        peeringStatus - the value to set
        Returns:
        this builder
      • timeCreated

        public RemotePeeringConnection.Builder timeCreated​(Date timeCreated)
        The date and time the RPC was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder