Class ReplaceOperatorOptions.Builder

  • Enclosing class:
    ReplaceOperatorOptions

    public static class ReplaceOperatorOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String xAuthRefreshToken)
        Instantiates a new builder with required properties.
        Parameters:
        xAuthRefreshToken - the xAuthRefreshToken
    • Method Detail

      • build

        public ReplaceOperatorOptions build()
        Builds a ReplaceOperatorOptions.
        Returns:
        the new ReplaceOperatorOptions instance
      • addNamespaces

        public ReplaceOperatorOptions.Builder addNamespaces​(java.lang.String namespaces)
        Adds an namespaces to namespaces.
        Parameters:
        namespaces - the new namespaces
        Returns:
        the ReplaceOperatorOptions builder
      • xAuthRefreshToken

        public ReplaceOperatorOptions.Builder xAuthRefreshToken​(java.lang.String xAuthRefreshToken)
        Set the xAuthRefreshToken.
        Parameters:
        xAuthRefreshToken - the xAuthRefreshToken
        Returns:
        the ReplaceOperatorOptions builder
      • clusterId

        public ReplaceOperatorOptions.Builder clusterId​(java.lang.String clusterId)
        Set the clusterId.
        Parameters:
        clusterId - the clusterId
        Returns:
        the ReplaceOperatorOptions builder
      • region

        public ReplaceOperatorOptions.Builder region​(java.lang.String region)
        Set the region.
        Parameters:
        region - the region
        Returns:
        the ReplaceOperatorOptions builder
      • namespaces

        public ReplaceOperatorOptions.Builder namespaces​(java.util.List<java.lang.String> namespaces)
        Set the namespaces. Existing namespaces will be replaced.
        Parameters:
        namespaces - the namespaces
        Returns:
        the ReplaceOperatorOptions builder
      • versionLocatorId

        public ReplaceOperatorOptions.Builder versionLocatorId​(java.lang.String versionLocatorId)
        Set the versionLocatorId.
        Parameters:
        versionLocatorId - the versionLocatorId
        Returns:
        the ReplaceOperatorOptions builder