Class DeploymentLogsRequest
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.DeploymentLogsRequest
-
public final class DeploymentLogsRequest extends Object
The DeploymentLogsRequest model.
-
-
Constructor Summary
Constructors Constructor Description DeploymentLogsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerType
containerType()
Get the containerType property: The type of container to retrieve logs from.Integer
tail()
Get the tail property: The maximum number of lines to tail.void
validate()
Validates the instance.DeploymentLogsRequest
withContainerType(ContainerType containerType)
Set the containerType property: The type of container to retrieve logs from.DeploymentLogsRequest
withTail(Integer tail)
Set the tail property: The maximum number of lines to tail.
-
-
-
Method Detail
-
containerType
public ContainerType containerType()
Get the containerType property: The type of container to retrieve logs from.- Returns:
- the containerType value.
-
withContainerType
public DeploymentLogsRequest withContainerType(ContainerType containerType)
Set the containerType property: The type of container to retrieve logs from.- Parameters:
containerType
- the containerType value to set.- Returns:
- the DeploymentLogsRequest object itself.
-
tail
public Integer tail()
Get the tail property: The maximum number of lines to tail.- Returns:
- the tail value.
-
withTail
public DeploymentLogsRequest withTail(Integer tail)
Set the tail property: The maximum number of lines to tail.- Parameters:
tail
- the tail value to set.- Returns:
- the DeploymentLogsRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-