Class EventPatchArgs.Builder

  • Enclosing class:
    EventPatchArgs

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

      • Builder

        public Builder()
    • Method Detail

      • action

        public EventPatchArgs.Builder action​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> action)
        Parameters:
        action - What action was taken/failed regarding to the regarding object.
        Returns:
        builder
      • action

        public EventPatchArgs.Builder action​(java.lang.String action)
        Parameters:
        action - What action was taken/failed regarding to the regarding object.
        Returns:
        builder
      • apiVersion

        public EventPatchArgs.Builder apiVersion​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> apiVersion)
        Parameters:
        apiVersion - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Returns:
        builder
      • apiVersion

        public EventPatchArgs.Builder apiVersion​(java.lang.String apiVersion)
        Parameters:
        apiVersion - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Returns:
        builder
      • deprecatedCount

        public EventPatchArgs.Builder deprecatedCount​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> deprecatedCount)
        Parameters:
        deprecatedCount - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • deprecatedCount

        public EventPatchArgs.Builder deprecatedCount​(java.lang.Integer deprecatedCount)
        Parameters:
        deprecatedCount - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • deprecatedFirstTimestamp

        public EventPatchArgs.Builder deprecatedFirstTimestamp​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> deprecatedFirstTimestamp)
        Parameters:
        deprecatedFirstTimestamp - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • deprecatedFirstTimestamp

        public EventPatchArgs.Builder deprecatedFirstTimestamp​(java.lang.String deprecatedFirstTimestamp)
        Parameters:
        deprecatedFirstTimestamp - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • deprecatedLastTimestamp

        public EventPatchArgs.Builder deprecatedLastTimestamp​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> deprecatedLastTimestamp)
        Parameters:
        deprecatedLastTimestamp - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • deprecatedLastTimestamp

        public EventPatchArgs.Builder deprecatedLastTimestamp​(java.lang.String deprecatedLastTimestamp)
        Parameters:
        deprecatedLastTimestamp - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • deprecatedSource

        public EventPatchArgs.Builder deprecatedSource​(@Nullable
                                                       com.pulumi.core.Output<EventSourcePatchArgs> deprecatedSource)
        Parameters:
        deprecatedSource - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • deprecatedSource

        public EventPatchArgs.Builder deprecatedSource​(EventSourcePatchArgs deprecatedSource)
        Parameters:
        deprecatedSource - Deprecated field assuring backward compatibility with core.v1 Event type
        Returns:
        builder
      • eventTime

        public EventPatchArgs.Builder eventTime​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> eventTime)
        Parameters:
        eventTime - Required. Time when this Event was first observed.
        Returns:
        builder
      • eventTime

        public EventPatchArgs.Builder eventTime​(java.lang.String eventTime)
        Parameters:
        eventTime - Required. Time when this Event was first observed.
        Returns:
        builder
      • kind

        public EventPatchArgs.Builder kind​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> kind)
        Parameters:
        kind - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        builder
      • kind

        public EventPatchArgs.Builder kind​(java.lang.String kind)
        Parameters:
        kind - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Returns:
        builder
      • note

        public EventPatchArgs.Builder note​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> note)
        Parameters:
        note - Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
        Returns:
        builder
      • note

        public EventPatchArgs.Builder note​(java.lang.String note)
        Parameters:
        note - Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
        Returns:
        builder
      • reason

        public EventPatchArgs.Builder reason​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> reason)
        Parameters:
        reason - Why the action was taken.
        Returns:
        builder
      • reason

        public EventPatchArgs.Builder reason​(java.lang.String reason)
        Parameters:
        reason - Why the action was taken.
        Returns:
        builder
      • regarding

        public EventPatchArgs.Builder regarding​(@Nullable
                                                com.pulumi.core.Output<ObjectReferencePatchArgs> regarding)
        Parameters:
        regarding - The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.
        Returns:
        builder
      • regarding

        public EventPatchArgs.Builder regarding​(ObjectReferencePatchArgs regarding)
        Parameters:
        regarding - The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.
        Returns:
        builder
      • related

        public EventPatchArgs.Builder related​(@Nullable
                                              com.pulumi.core.Output<ObjectReferencePatchArgs> related)
        Parameters:
        related - Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
        Returns:
        builder
      • related

        public EventPatchArgs.Builder related​(ObjectReferencePatchArgs related)
        Parameters:
        related - Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
        Returns:
        builder
      • reportingController

        public EventPatchArgs.Builder reportingController​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> reportingController)
        Parameters:
        reportingController - Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
        Returns:
        builder
      • reportingController

        public EventPatchArgs.Builder reportingController​(java.lang.String reportingController)
        Parameters:
        reportingController - Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
        Returns:
        builder
      • reportingInstance

        public EventPatchArgs.Builder reportingInstance​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> reportingInstance)
        Parameters:
        reportingInstance - ID of the controller instance, e.g. `kubelet-xyzf`.
        Returns:
        builder
      • reportingInstance

        public EventPatchArgs.Builder reportingInstance​(java.lang.String reportingInstance)
        Parameters:
        reportingInstance - ID of the controller instance, e.g. `kubelet-xyzf`.
        Returns:
        builder
      • series

        public EventPatchArgs.Builder series​(@Nullable
                                             com.pulumi.core.Output<EventSeriesPatchArgs> series)
        Parameters:
        series - Data about the Event series this event represents or nil if it's a singleton Event.
        Returns:
        builder
      • type

        public EventPatchArgs.Builder type​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of this event (Normal, Warning), new types could be added in the future.
        Returns:
        builder
      • type

        public EventPatchArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Type of this event (Normal, Warning), new types could be added in the future.
        Returns:
        builder