Klasse CreateUserStatusUpdateNotificationRuleOperationSpec
java.lang.Object
io.github.primelib.pagerduty4j.rest.spec.CreateUserStatusUpdateNotificationRuleOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateUserStatusUpdateNotificationRuleOperationSpec
extends Object
CreateUserStatusUpdateNotificationRuleSpec
Specification for the CreateUserStatusUpdateNotificationRule operation.
Create a user status update notification rule
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
CreateUserStatusUpdateNotificationRuleOperationSpec
(String id, CreateUserStatusUpdateNotificationRuleRequest createUserStatusUpdateNotificationRuleRequest) Constructs a validated instance ofCreateUserStatusUpdateNotificationRuleOperationSpec
.CreateUserStatusUpdateNotificationRuleOperationSpec
(Consumer<CreateUserStatusUpdateNotificationRuleOperationSpec> spec) Constructs a validated instance ofCreateUserStatusUpdateNotificationRuleOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()
protected boolean
The status update notification rule to be created.createUserStatusUpdateNotificationRuleRequest
(@Nullable CreateUserStatusUpdateNotificationRuleRequest createUserStatusUpdateNotificationRuleRequest) The status update notification rule to be created.boolean
int
hashCode()
@NotNull String
id()
The ID of the resource.The ID of the resource.toString()
void
validate()
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
-
CreateUserStatusUpdateNotificationRuleOperationSpec
@Internal public CreateUserStatusUpdateNotificationRuleOperationSpec(Consumer<CreateUserStatusUpdateNotificationRuleOperationSpec> spec) Constructs a validated instance ofCreateUserStatusUpdateNotificationRuleOperationSpec
.- Parameter:
spec
- the specification to process
-
CreateUserStatusUpdateNotificationRuleOperationSpec
@Internal public CreateUserStatusUpdateNotificationRuleOperationSpec(String id, CreateUserStatusUpdateNotificationRuleRequest createUserStatusUpdateNotificationRuleRequest) Constructs a validated instance ofCreateUserStatusUpdateNotificationRuleOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
id
- The ID of the resource.createUserStatusUpdateNotificationRuleRequest
- The status update notification rule to be created.
-
CreateUserStatusUpdateNotificationRuleOperationSpec
protected CreateUserStatusUpdateNotificationRuleOperationSpec()
-
-
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. -
createUserStatusUpdateNotificationRuleRequest
@Nullable public @Nullable CreateUserStatusUpdateNotificationRuleRequest createUserStatusUpdateNotificationRuleRequest()The status update notification rule to be created. -
id
The ID of the resource.- Gibt zurück:
this
.
-
createUserStatusUpdateNotificationRuleRequest
public CreateUserStatusUpdateNotificationRuleOperationSpec createUserStatusUpdateNotificationRuleRequest(@Nullable @Nullable CreateUserStatusUpdateNotificationRuleRequest createUserStatusUpdateNotificationRuleRequest) The status update notification rule to be created.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-