Klasse CreateUserNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserNotificationRuleOperationSpec
extends Object
CreateUserNotificationRuleSpec
Specification for the CreateUserNotificationRule operation.
Create a user notification rule
-
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
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreateUserNotificationRuleOperationSpec(String id, CreateUserNotificationRuleRequest createUserNotificationRuleRequest) Constructs a validated instance ofCreateUserNotificationRuleOperationSpec.Constructs a validated instance ofCreateUserNotificationRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@Nullable CreateUserNotificationRuleRequestThe notification rule to be created.createUserNotificationRuleRequest(@Nullable CreateUserNotificationRuleRequest createUserNotificationRuleRequest) The notification rule to be created.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
-
CreateUserNotificationRuleOperationSpec
@Internal public CreateUserNotificationRuleOperationSpec(Consumer<CreateUserNotificationRuleOperationSpec> spec) Constructs a validated instance ofCreateUserNotificationRuleOperationSpec.- Parameter:
spec- the specification to process
-
CreateUserNotificationRuleOperationSpec
@Internal public CreateUserNotificationRuleOperationSpec(String id, CreateUserNotificationRuleRequest createUserNotificationRuleRequest) Constructs a validated instance ofCreateUserNotificationRuleOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.createUserNotificationRuleRequest- The notification rule to be created.
-
CreateUserNotificationRuleOperationSpec
protected CreateUserNotificationRuleOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
public static CreateUserNotificationRuleOperationSpec.CreateUserNotificationRuleOperationSpecBuilder builder() -
id
The ID of the resource. -
createUserNotificationRuleRequest
The notification rule to be created. -
id
The ID of the resource.- Gibt zurück:
this.
-
createUserNotificationRuleRequest
public CreateUserNotificationRuleOperationSpec createUserNotificationRuleRequest(@Nullable @Nullable CreateUserNotificationRuleRequest createUserNotificationRuleRequest) The notification rule to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-