Class JitNetworkAccessRequestInner
java.lang.Object
com.azure.resourcemanager.security.fluent.models.JitNetworkAccessRequestInner
The JitNetworkAccessRequest model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the justification property: The justification for making the initiate request.Get the requestor property: The identity of the person who made the request.Get the startTimeUtc property: The start time of the request in UTC.void
validate()
Validates the instance.Get the virtualMachines property: The virtualMachines property.withJustification
(String justification) Set the justification property: The justification for making the initiate request.withRequestor
(String requestor) Set the requestor property: The identity of the person who made the request.withStartTimeUtc
(OffsetDateTime startTimeUtc) Set the startTimeUtc property: The start time of the request in UTC.withVirtualMachines
(List<JitNetworkAccessRequestVirtualMachine> virtualMachines) Set the virtualMachines property: The virtualMachines property.
-
Constructor Details
-
JitNetworkAccessRequestInner
public JitNetworkAccessRequestInner()
-
-
Method Details
-
virtualMachines
Get the virtualMachines property: The virtualMachines property.- Returns:
- the virtualMachines value.
-
withVirtualMachines
public JitNetworkAccessRequestInner withVirtualMachines(List<JitNetworkAccessRequestVirtualMachine> virtualMachines) Set the virtualMachines property: The virtualMachines property.- Parameters:
virtualMachines
- the virtualMachines value to set.- Returns:
- the JitNetworkAccessRequestInner object itself.
-
startTimeUtc
Get the startTimeUtc property: The start time of the request in UTC.- Returns:
- the startTimeUtc value.
-
withStartTimeUtc
Set the startTimeUtc property: The start time of the request in UTC.- Parameters:
startTimeUtc
- the startTimeUtc value to set.- Returns:
- the JitNetworkAccessRequestInner object itself.
-
requestor
Get the requestor property: The identity of the person who made the request.- Returns:
- the requestor value.
-
withRequestor
Set the requestor property: The identity of the person who made the request.- Parameters:
requestor
- the requestor value to set.- Returns:
- the JitNetworkAccessRequestInner object itself.
-
justification
Get the justification property: The justification for making the initiate request.- Returns:
- the justification value.
-
withJustification
Set the justification property: The justification for making the initiate request.- Parameters:
justification
- the justification value to set.- Returns:
- the JitNetworkAccessRequestInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-