OperationStatusAutoGenerated Class

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

public final class OperationStatusAutoGenerated

A status describing the success/failure of the extension's enablement/disablement operation.

Constructor Summary

Constructor Description
OperationStatusAutoGenerated()

Creates an instance of OperationStatusAutoGenerated class.

Method Summary

Modifier and Type Method and Description
Code code()

Get the code property: The operation status code.

String message()

Get the message property: Additional information regarding the success/failure of the operation.

void validate()

Validates the instance.

OperationStatusAutoGenerated withCode(Code code)

Set the code property: The operation status code.

OperationStatusAutoGenerated withMessage(String message)

Set the message property: Additional information regarding the success/failure of the operation.

Methods inherited from java.lang.Object

Constructor Details

OperationStatusAutoGenerated

public OperationStatusAutoGenerated()

Creates an instance of OperationStatusAutoGenerated class.

Method Details

code

public Code code()

Get the code property: The operation status code.

Returns:

the code value.

message

public String message()

Get the message property: Additional information regarding the success/failure of the operation.

Returns:

the message value.

validate

public void validate()

Validates the instance.

withCode

public OperationStatusAutoGenerated withCode(Code code)

Set the code property: The operation status code.

Parameters:

code - the code value to set.

Returns:

the OperationStatusAutoGenerated object itself.

withMessage

public OperationStatusAutoGenerated withMessage(String message)

Set the message property: Additional information regarding the success/failure of the operation.

Parameters:

message - the message value to set.

Returns:

the OperationStatusAutoGenerated object itself.

Applies to