Class ConditionArgs.Builder

  • Enclosing class:
    ConditionArgs

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

      • Builder

        public Builder()
    • Method Detail

      • lastTransitionTime

        public ConditionArgs.Builder lastTransitionTime​(com.pulumi.core.Output<java.lang.String> lastTransitionTime)
        Parameters:
        lastTransitionTime - lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
        Returns:
        builder
      • lastTransitionTime

        public ConditionArgs.Builder lastTransitionTime​(java.lang.String lastTransitionTime)
        Parameters:
        lastTransitionTime - lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
        Returns:
        builder
      • message

        public ConditionArgs.Builder message​(com.pulumi.core.Output<java.lang.String> message)
        Parameters:
        message - message is a human readable message indicating details about the transition. This may be an empty string.
        Returns:
        builder
      • message

        public ConditionArgs.Builder message​(java.lang.String message)
        Parameters:
        message - message is a human readable message indicating details about the transition. This may be an empty string.
        Returns:
        builder
      • observedGeneration

        public ConditionArgs.Builder observedGeneration​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> observedGeneration)
        Parameters:
        observedGeneration - observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
        Returns:
        builder
      • observedGeneration

        public ConditionArgs.Builder observedGeneration​(java.lang.Integer observedGeneration)
        Parameters:
        observedGeneration - observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
        Returns:
        builder
      • reason

        public ConditionArgs.Builder reason​(com.pulumi.core.Output<java.lang.String> reason)
        Parameters:
        reason - reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
        Returns:
        builder
      • reason

        public ConditionArgs.Builder reason​(java.lang.String reason)
        Parameters:
        reason - reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
        Returns:
        builder
      • status

        public ConditionArgs.Builder status​(com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        status - status of the condition, one of True, False, Unknown.
        Returns:
        builder
      • status

        public ConditionArgs.Builder status​(java.lang.String status)
        Parameters:
        status - status of the condition, one of True, False, Unknown.
        Returns:
        builder
      • type

        public ConditionArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - type of condition in CamelCase or in foo.example.com/CamelCase.
        Returns:
        builder
      • type

        public ConditionArgs.Builder type​(java.lang.String type)
        Parameters:
        type - type of condition in CamelCase or in foo.example.com/CamelCase.
        Returns:
        builder