Share via


DcAccessSecurityCode Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.DcAccessSecurityCode

Implements

public final class DcAccessSecurityCode
implements JsonSerializable<DcAccessSecurityCode>

Dc access security code.

Constructor Summary

Constructor Description
DcAccessSecurityCode()

Creates an instance of DcAccessSecurityCode class.

Method Summary

Modifier and Type Method and Description
String forwardDCAccessCode()

Get the forwardDCAccessCode property: Forward Dc access security code.

static DcAccessSecurityCode fromJson(JsonReader jsonReader)

Reads an instance of DcAccessSecurityCode from the JsonReader.

String reverseDCAccessCode()

Get the reverseDCAccessCode property: Reverse Dc access security code.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DcAccessSecurityCode withForwardDCAccessCode(String forwardDCAccessCode)

Set the forwardDCAccessCode property: Forward Dc access security code.

DcAccessSecurityCode withReverseDCAccessCode(String reverseDCAccessCode)

Set the reverseDCAccessCode property: Reverse Dc access security code.

Methods inherited from java.lang.Object

Constructor Details

DcAccessSecurityCode

public DcAccessSecurityCode()

Creates an instance of DcAccessSecurityCode class.

Method Details

forwardDCAccessCode

public String forwardDCAccessCode()

Get the forwardDCAccessCode property: Forward Dc access security code.

Returns:

the forwardDCAccessCode value.

fromJson

public static DcAccessSecurityCode fromJson(JsonReader jsonReader)

Reads an instance of DcAccessSecurityCode from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DcAccessSecurityCode if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DcAccessSecurityCode.

reverseDCAccessCode

public String reverseDCAccessCode()

Get the reverseDCAccessCode property: Reverse Dc access security code.

Returns:

the reverseDCAccessCode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withForwardDCAccessCode

public DcAccessSecurityCode withForwardDCAccessCode(String forwardDCAccessCode)

Set the forwardDCAccessCode property: Forward Dc access security code.

Parameters:

forwardDCAccessCode - the forwardDCAccessCode value to set.

Returns:

the DcAccessSecurityCode object itself.

withReverseDCAccessCode

public DcAccessSecurityCode withReverseDCAccessCode(String reverseDCAccessCode)

Set the reverseDCAccessCode property: Reverse Dc access security code.

Parameters:

reverseDCAccessCode - the reverseDCAccessCode value to set.

Returns:

the DcAccessSecurityCode object itself.

Applies to