Klasse UpdateServiceEventRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.UpdateServiceEventRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateServiceEventRuleOperationSpec
extends Object
UpdateServiceEventRuleSpec
Specification for the UpdateServiceEventRule operation.
Update an Event Rule on a Service
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateServiceEventRuleOperationSpec(String id, String ruleId, UpdateServiceEventRuleRequest updateServiceEventRuleRequest) Constructs a validated instance ofUpdateServiceEventRuleOperationSpec.Constructs a validated instance ofUpdateServiceEventRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.@NotNull StringruleId()The id of the Event Rule to retrieve.The id of the Event Rule to retrieve.toString()@Nullable UpdateServiceEventRuleRequestupdateServiceEventRuleRequest(@Nullable UpdateServiceEventRuleRequest updateServiceEventRuleRequest) voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
UpdateServiceEventRuleOperationSpec
@Internal public UpdateServiceEventRuleOperationSpec(Consumer<UpdateServiceEventRuleOperationSpec> spec) Constructs a validated instance ofUpdateServiceEventRuleOperationSpec.- Parameter:
spec- the specification to process
-
UpdateServiceEventRuleOperationSpec
@Internal public UpdateServiceEventRuleOperationSpec(String id, String ruleId, UpdateServiceEventRuleRequest updateServiceEventRuleRequest) Constructs a validated instance ofUpdateServiceEventRuleOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.ruleId- The id of the Event Rule to retrieve.updateServiceEventRuleRequest-
-
UpdateServiceEventRuleOperationSpec
protected UpdateServiceEventRuleOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static UpdateServiceEventRuleOperationSpec.UpdateServiceEventRuleOperationSpecBuilder builder() -
id
The ID of the resource. -
ruleId
The id of the Event Rule to retrieve. -
updateServiceEventRuleRequest
-
id
The ID of the resource.- Gibt zurück:
this.
-
ruleId
The id of the Event Rule to retrieve.- Gibt zurück:
this.
-
updateServiceEventRuleRequest
public UpdateServiceEventRuleOperationSpec updateServiceEventRuleRequest(@Nullable @Nullable UpdateServiceEventRuleRequest updateServiceEventRuleRequest) - Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-