Klasse CreateServiceEventRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateServiceEventRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateServiceEventRuleOperationSpec
extends Object
CreateServiceEventRuleSpec
Specification for the CreateServiceEventRule operation.
Create 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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreateServiceEventRuleOperationSpec(String id, CreateServiceEventRuleRequest createServiceEventRuleRequest) Constructs a validated instance ofCreateServiceEventRuleOperationSpec.Constructs a validated instance ofCreateServiceEventRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable CreateServiceEventRuleRequestcreateServiceEventRuleRequest(@Nullable CreateServiceEventRuleRequest createServiceEventRuleRequest) booleaninthashCode()@NotNull Stringid()The ID of the resource.The ID of the resource.toString()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
-
CreateServiceEventRuleOperationSpec
@Internal public CreateServiceEventRuleOperationSpec(Consumer<CreateServiceEventRuleOperationSpec> spec) Constructs a validated instance ofCreateServiceEventRuleOperationSpec.- Parameter:
spec- the specification to process
-
CreateServiceEventRuleOperationSpec
@Internal public CreateServiceEventRuleOperationSpec(String id, CreateServiceEventRuleRequest createServiceEventRuleRequest) Constructs a validated instance ofCreateServiceEventRuleOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.createServiceEventRuleRequest-
-
CreateServiceEventRuleOperationSpec
protected CreateServiceEventRuleOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static CreateServiceEventRuleOperationSpec.CreateServiceEventRuleOperationSpecBuilder builder() -
id
The ID of the resource. -
createServiceEventRuleRequest
-
id
The ID of the resource.- Gibt zurück:
this.
-
createServiceEventRuleRequest
public CreateServiceEventRuleOperationSpec createServiceEventRuleRequest(@Nullable @Nullable CreateServiceEventRuleRequest createServiceEventRuleRequest) - Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-