Klasse CreateUserHandoffNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserHandoffNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserHandoffNotificationRuleOperationSpec
extends Object
CreateUserHandoffNotificationRuleSpec
Specification for the CreateUserHandoffNotificationRule operation.
Create a User Handoff Notification Rule
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classCreateUserHandoffNotificationRuleOperationSpec.CreateUserHandoffNotificationRuleOperationSpecBuilder -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedCreateUserHandoffNotificationRuleOperationSpec(String id, CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) Constructs a validated instance ofCreateUserHandoffNotificationRuleOperationSpec.CreateUserHandoffNotificationRuleOperationSpec(Consumer<CreateUserHandoffNotificationRuleOperationSpec> spec) Constructs a validated instance ofCreateUserHandoffNotificationRuleOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic CreateUserHandoffNotificationRuleOperationSpec.CreateUserHandoffNotificationRuleOperationSpecBuilderbuilder()protected boolean@Nullable CreateUserHandoffNotificationRuleRequestThe Handoff Notification Rule to be created.createUserHandoffNotificationRuleRequest(@Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) The Handoff 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
-
CreateUserHandoffNotificationRuleOperationSpec
@Internal public CreateUserHandoffNotificationRuleOperationSpec(Consumer<CreateUserHandoffNotificationRuleOperationSpec> spec) Constructs a validated instance ofCreateUserHandoffNotificationRuleOperationSpec.- Parameter:
spec- the specification to process
-
CreateUserHandoffNotificationRuleOperationSpec
@Internal public CreateUserHandoffNotificationRuleOperationSpec(String id, CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) Constructs a validated instance ofCreateUserHandoffNotificationRuleOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id- The ID of the resource.createUserHandoffNotificationRuleRequest- The Handoff Notification Rule to be created.
-
CreateUserHandoffNotificationRuleOperationSpec
protected CreateUserHandoffNotificationRuleOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
id
The ID of the resource. -
createUserHandoffNotificationRuleRequest
@Nullable public @Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest()The Handoff Notification Rule to be created. -
id
The ID of the resource.- Gibt zurück:
this.
-
createUserHandoffNotificationRuleRequest
public CreateUserHandoffNotificationRuleOperationSpec createUserHandoffNotificationRuleRequest(@Nullable @Nullable CreateUserHandoffNotificationRuleRequest createUserHandoffNotificationRuleRequest) The Handoff Notification Rule to be created.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-