Class StatusDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • causes

        @Stability(Stable)
        public StatusDetails.Builder causes​(List<? extends StatusCause> causes)
        Sets the value of StatusDetails.getCauses()
        Parameters:
        causes - The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
        Returns:
        this
      • kind

        @Stability(Stable)
        public StatusDetails.Builder kind​(String kind)
        Sets the value of StatusDetails.getKind()
        Parameters:
        kind - The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        this
      • name

        @Stability(Stable)
        public StatusDetails.Builder name​(String name)
        Sets the value of StatusDetails.getName()
        Parameters:
        name - The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
        Returns:
        this
      • retryAfterSeconds

        @Stability(Stable)
        public StatusDetails.Builder retryAfterSeconds​(Number retryAfterSeconds)
        Parameters:
        retryAfterSeconds - If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
        Returns:
        this
      • uid

        @Stability(Stable)
        public StatusDetails.Builder uid​(String uid)
        Sets the value of StatusDetails.getUid()
        Parameters:
        uid - UID of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids
        Returns:
        this