JitNetworkAccessRequestInner Class
- java.
lang. Object - com.
azure. resourcemanager. security. fluent. models. JitNetworkAccessRequestInner
- com.
Implements
public final class JitNetworkAccessRequestInner
implements JsonSerializable<JitNetworkAccessRequestInner>
The JitNetworkAccessRequest model.
Constructor Summary
| Constructor | Description |
|---|---|
| JitNetworkAccessRequestInner() |
Creates an instance of Jit |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Jit |
fromJson(JsonReader jsonReader)
Reads an instance of Jit |
| String |
justification()
Get the justification property: The justification for making the initiate request. |
| String |
requestor()
Get the requestor property: The identity of the person who made the request. |
|
Offset |
startTimeUtc()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<Jit |
virtualMachines()
Get the virtual |
|
Jit |
withJustification(String justification)
Set the justification property: The justification for making the initiate request. |
|
Jit |
withRequestor(String requestor)
Set the requestor property: The identity of the person who made the request. |
|
Jit |
withStartTimeUtc(OffsetDateTime startTimeUtc)
Set the start |
|
Jit |
withVirtualMachines(List<JitNetworkAccessRequestVirtualMachine> virtualMachines)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
JitNetworkAccessRequestInner
public JitNetworkAccessRequestInner()
Creates an instance of JitNetworkAccessRequestInner class.
Method Details
fromJson
public static JitNetworkAccessRequestInner fromJson(JsonReader jsonReader)
Reads an instance of JitNetworkAccessRequestInner from the JsonReader.
Parameters:
Returns:
Throws:
justification
public String justification()
Get the justification property: The justification for making the initiate request.
Returns:
requestor
public String requestor()
Get the requestor property: The identity of the person who made the request.
Returns:
startTimeUtc
public OffsetDateTime startTimeUtc()
Get the startTimeUtc property: The start time of the request in UTC.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualMachines
public List<JitNetworkAccessRequestVirtualMachine> virtualMachines()
Get the virtualMachines property: The virtualMachines property.
Returns:
withJustification
public JitNetworkAccessRequestInner withJustification(String justification)
Set the justification property: The justification for making the initiate request.
Parameters:
Returns:
withRequestor
public JitNetworkAccessRequestInner withRequestor(String requestor)
Set the requestor property: The identity of the person who made the request.
Parameters:
Returns:
withStartTimeUtc
public JitNetworkAccessRequestInner withStartTimeUtc(OffsetDateTime startTimeUtc)
Set the startTimeUtc property: The start time of the request in UTC.
Parameters:
Returns:
withVirtualMachines
public JitNetworkAccessRequestInner withVirtualMachines(List<JitNetworkAccessRequestVirtualMachine> virtualMachines)
Set the virtualMachines property: The virtualMachines property.
Parameters:
Returns: