Class RunCommandRequest


  • public final class RunCommandRequest
    extends Object
    A run command request.
    • Constructor Detail

      • RunCommandRequest

        public RunCommandRequest()
    • Method Detail

      • command

        public String command()
        Get the command property: The command to run.
        Returns:
        the command value.
      • withCommand

        public RunCommandRequest withCommand​(String command)
        Set the command property: The command to run.
        Parameters:
        command - the command value to set.
        Returns:
        the RunCommandRequest object itself.
      • context

        public String context()
        Get the context property: A base64 encoded zip file containing the files required by the command.
        Returns:
        the context value.
      • withContext

        public RunCommandRequest withContext​(String context)
        Set the context property: A base64 encoded zip file containing the files required by the command.
        Parameters:
        context - the context value to set.
        Returns:
        the RunCommandRequest object itself.
      • clusterToken

        public String clusterToken()
        Get the clusterToken property: AuthToken issued for AKS AAD Server App.
        Returns:
        the clusterToken value.
      • withClusterToken

        public RunCommandRequest withClusterToken​(String clusterToken)
        Set the clusterToken property: AuthToken issued for AKS AAD Server App.
        Parameters:
        clusterToken - the clusterToken value to set.
        Returns:
        the RunCommandRequest object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.