JitNetworkAccessRequestInner Class

  • java.lang.Object
    • com.azure.resourcemanager.security.fluent.models.JitNetworkAccessRequestInner

public final class JitNetworkAccessRequestInner

The JitNetworkAccessRequest model.

Constructor Summary

Constructor Description
JitNetworkAccessRequestInner()

Creates an instance of JitNetworkAccessRequestInner class.

Method Summary

Modifier and Type Method and Description
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.

OffsetDateTime startTimeUtc()

Get the startTimeUtc property: The start time of the request in UTC.

void validate()

Validates the instance.

List<JitNetworkAccessRequestVirtualMachine> virtualMachines()

Get the virtualMachines property: The virtualMachines property.

JitNetworkAccessRequestInner withJustification(String justification)

Set the justification property: The justification for making the initiate request.

JitNetworkAccessRequestInner withRequestor(String requestor)

Set the requestor property: The identity of the person who made the request.

JitNetworkAccessRequestInner withStartTimeUtc(OffsetDateTime startTimeUtc)

Set the startTimeUtc property: The start time of the request in UTC.

JitNetworkAccessRequestInner withVirtualMachines(List<JitNetworkAccessRequestVirtualMachine> virtualMachines)

Set the virtualMachines property: The virtualMachines property.

Methods inherited from java.lang.Object

Constructor Details

JitNetworkAccessRequestInner

public JitNetworkAccessRequestInner()

Creates an instance of JitNetworkAccessRequestInner class.

Method Details

justification

public String justification()

Get the justification property: The justification for making the initiate request.

Returns:

the justification value.

requestor

public String requestor()

Get the requestor property: The identity of the person who made the request.

Returns:

the requestor value.

startTimeUtc

public OffsetDateTime startTimeUtc()

Get the startTimeUtc property: The start time of the request in UTC.

Returns:

the startTimeUtc value.

validate

public void validate()

Validates the instance.

virtualMachines

public List virtualMachines()

Get the virtualMachines property: The virtualMachines property.

Returns:

the virtualMachines value.

withJustification

public JitNetworkAccessRequestInner withJustification(String justification)

Set the justification property: The justification for making the initiate request.

Parameters:

justification - the justification value to set.

Returns:

the JitNetworkAccessRequestInner object itself.

withRequestor

public JitNetworkAccessRequestInner withRequestor(String requestor)

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.

withStartTimeUtc

public JitNetworkAccessRequestInner withStartTimeUtc(OffsetDateTime startTimeUtc)

Set the startTimeUtc property: The start time of the request in UTC.

Parameters:

startTimeUtc - the startTimeUtc value to set.

Returns:

the JitNetworkAccessRequestInner object itself.

withVirtualMachines

public JitNetworkAccessRequestInner withVirtualMachines(List virtualMachines)

Set the virtualMachines property: The virtualMachines property.

Parameters:

virtualMachines - the virtualMachines value to set.

Returns:

the JitNetworkAccessRequestInner object itself.

Applies to