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