Class OperationResultLogItemContract
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.OperationResultLogItemContract
-
public final class OperationResultLogItemContract extends Object
Log of the entity being created, updated or deleted.
-
-
Constructor Summary
Constructors Constructor Description OperationResultLogItemContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
action()
Get the action property: Action like create/update/delete.String
objectKey()
Get the objectKey property: Identifier of the entity being created/updated/deleted.String
objectType()
Get the objectType property: The type of entity contract.void
validate()
Validates the instance.OperationResultLogItemContract
withAction(String action)
Set the action property: Action like create/update/delete.OperationResultLogItemContract
withObjectKey(String objectKey)
Set the objectKey property: Identifier of the entity being created/updated/deleted.OperationResultLogItemContract
withObjectType(String objectType)
Set the objectType property: The type of entity contract.
-
-
-
Method Detail
-
objectType
public String objectType()
Get the objectType property: The type of entity contract.- Returns:
- the objectType value.
-
withObjectType
public OperationResultLogItemContract withObjectType(String objectType)
Set the objectType property: The type of entity contract.- Parameters:
objectType
- the objectType value to set.- Returns:
- the OperationResultLogItemContract object itself.
-
action
public String action()
Get the action property: Action like create/update/delete.- Returns:
- the action value.
-
withAction
public OperationResultLogItemContract withAction(String action)
Set the action property: Action like create/update/delete.- Parameters:
action
- the action value to set.- Returns:
- the OperationResultLogItemContract object itself.
-
objectKey
public String objectKey()
Get the objectKey property: Identifier of the entity being created/updated/deleted.- Returns:
- the objectKey value.
-
withObjectKey
public OperationResultLogItemContract withObjectKey(String objectKey)
Set the objectKey property: Identifier of the entity being created/updated/deleted.- Parameters:
objectKey
- the objectKey value to set.- Returns:
- the OperationResultLogItemContract object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-