Class DeploymentLogsRequest


  • public final class DeploymentLogsRequest
    extends Object
    The DeploymentLogsRequest model.
    • Constructor Detail

      • DeploymentLogsRequest

        public DeploymentLogsRequest()
    • 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.