JitNetworkAccessPolicyInitiatePort Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.JitNetworkAccessPolicyInitiatePort

public final class JitNetworkAccessPolicyInitiatePort

The JitNetworkAccessPolicyInitiatePort model.

Constructor Summary

Constructor Description
JitNetworkAccessPolicyInitiatePort()

Creates an instance of JitNetworkAccessPolicyInitiatePort class.

Method Summary

Modifier and Type Method and Description
String allowedSourceAddressPrefix()

Get the allowedSourceAddressPrefix property: Source of the allowed traffic.

OffsetDateTime endTimeUtc()

Get the endTimeUtc property: The time to close the request in UTC.

int number()

Get the number property: The number property.

void validate()

Validates the instance.

JitNetworkAccessPolicyInitiatePort withAllowedSourceAddressPrefix(String allowedSourceAddressPrefix)

Set the allowedSourceAddressPrefix property: Source of the allowed traffic.

JitNetworkAccessPolicyInitiatePort withEndTimeUtc(OffsetDateTime endTimeUtc)

Set the endTimeUtc property: The time to close the request in UTC.

JitNetworkAccessPolicyInitiatePort withNumber(int number)

Set the number property: The number property.

Methods inherited from java.lang.Object

Constructor Details

JitNetworkAccessPolicyInitiatePort

public JitNetworkAccessPolicyInitiatePort()

Creates an instance of JitNetworkAccessPolicyInitiatePort class.

Method Details

allowedSourceAddressPrefix

public String allowedSourceAddressPrefix()

Get the allowedSourceAddressPrefix property: Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.

Returns:

the allowedSourceAddressPrefix value.

endTimeUtc

public OffsetDateTime endTimeUtc()

Get the endTimeUtc property: The time to close the request in UTC.

Returns:

the endTimeUtc value.

number

public int number()

Get the number property: The number property.

Returns:

the number value.

validate

public void validate()

Validates the instance.

withAllowedSourceAddressPrefix

public JitNetworkAccessPolicyInitiatePort withAllowedSourceAddressPrefix(String allowedSourceAddressPrefix)

Set the allowedSourceAddressPrefix property: Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.

Parameters:

allowedSourceAddressPrefix - the allowedSourceAddressPrefix value to set.

Returns:

the JitNetworkAccessPolicyInitiatePort object itself.

withEndTimeUtc

public JitNetworkAccessPolicyInitiatePort withEndTimeUtc(OffsetDateTime endTimeUtc)

Set the endTimeUtc property: The time to close the request in UTC.

Parameters:

endTimeUtc - the endTimeUtc value to set.

Returns:

the JitNetworkAccessPolicyInitiatePort object itself.

withNumber

public JitNetworkAccessPolicyInitiatePort withNumber(int number)

Set the number property: The number property.

Parameters:

number - the number value to set.

Returns:

the JitNetworkAccessPolicyInitiatePort object itself.

Applies to