Class EventPatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.events.v1beta1.EventPatchArgs.Builder
-
- Enclosing class:
- EventPatchArgs
public static final class EventPatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EventPatchArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventPatchArgs.Builder
action(com.pulumi.core.Output<java.lang.String> action)
EventPatchArgs.Builder
action(java.lang.String action)
EventPatchArgs.Builder
apiVersion(com.pulumi.core.Output<java.lang.String> apiVersion)
EventPatchArgs.Builder
apiVersion(java.lang.String apiVersion)
EventPatchArgs
build()
EventPatchArgs.Builder
deprecatedCount(com.pulumi.core.Output<java.lang.Integer> deprecatedCount)
EventPatchArgs.Builder
deprecatedCount(java.lang.Integer deprecatedCount)
EventPatchArgs.Builder
deprecatedFirstTimestamp(com.pulumi.core.Output<java.lang.String> deprecatedFirstTimestamp)
EventPatchArgs.Builder
deprecatedFirstTimestamp(java.lang.String deprecatedFirstTimestamp)
EventPatchArgs.Builder
deprecatedLastTimestamp(com.pulumi.core.Output<java.lang.String> deprecatedLastTimestamp)
EventPatchArgs.Builder
deprecatedLastTimestamp(java.lang.String deprecatedLastTimestamp)
EventPatchArgs.Builder
deprecatedSource(com.pulumi.core.Output<EventSourcePatchArgs> deprecatedSource)
EventPatchArgs.Builder
deprecatedSource(EventSourcePatchArgs deprecatedSource)
EventPatchArgs.Builder
eventTime(com.pulumi.core.Output<java.lang.String> eventTime)
EventPatchArgs.Builder
eventTime(java.lang.String eventTime)
EventPatchArgs.Builder
kind(com.pulumi.core.Output<java.lang.String> kind)
EventPatchArgs.Builder
kind(java.lang.String kind)
EventPatchArgs.Builder
metadata(com.pulumi.core.Output<ObjectMetaPatchArgs> metadata)
EventPatchArgs.Builder
metadata(ObjectMetaPatchArgs metadata)
EventPatchArgs.Builder
note(com.pulumi.core.Output<java.lang.String> note)
EventPatchArgs.Builder
note(java.lang.String note)
EventPatchArgs.Builder
reason(com.pulumi.core.Output<java.lang.String> reason)
EventPatchArgs.Builder
reason(java.lang.String reason)
EventPatchArgs.Builder
regarding(com.pulumi.core.Output<ObjectReferencePatchArgs> regarding)
EventPatchArgs.Builder
regarding(ObjectReferencePatchArgs regarding)
EventPatchArgs.Builder
related(com.pulumi.core.Output<ObjectReferencePatchArgs> related)
EventPatchArgs.Builder
related(ObjectReferencePatchArgs related)
EventPatchArgs.Builder
reportingController(com.pulumi.core.Output<java.lang.String> reportingController)
EventPatchArgs.Builder
reportingController(java.lang.String reportingController)
EventPatchArgs.Builder
reportingInstance(com.pulumi.core.Output<java.lang.String> reportingInstance)
EventPatchArgs.Builder
reportingInstance(java.lang.String reportingInstance)
EventPatchArgs.Builder
series(com.pulumi.core.Output<EventSeriesPatchArgs> series)
EventPatchArgs.Builder
series(EventSeriesPatchArgs series)
EventPatchArgs.Builder
type(com.pulumi.core.Output<java.lang.String> type)
EventPatchArgs.Builder
type(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EventPatchArgs defaults)
-
-
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
-
metadata
public EventPatchArgs.Builder metadata(@Nullable com.pulumi.core.Output<ObjectMetaPatchArgs> metadata)
-
metadata
public EventPatchArgs.Builder metadata(ObjectMetaPatchArgs metadata)
-
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
-
series
public EventPatchArgs.Builder series(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
-
build
public EventPatchArgs build()
-
-