Class TransformationInner


  • public final class TransformationInner
    extends com.azure.core.management.SubResource
    A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job.
    • Constructor Detail

      • TransformationInner

        public TransformationInner()
    • Method Detail

      • name

        public String name()
        Get the name property: Resource name.
        Returns:
        the name value.
      • withName

        public TransformationInner withName​(String name)
        Set the name property: Resource name.
        Parameters:
        name - the name value to set.
        Returns:
        the TransformationInner object itself.
      • type

        public String type()
        Get the type property: Resource type.
        Returns:
        the type value.
      • withId

        public TransformationInner withId​(String id)
        Overrides:
        withId in class com.azure.core.management.SubResource
      • streamingUnits

        public Integer streamingUnits()
        Get the streamingUnits property: Specifies the number of streaming units that the streaming job uses.
        Returns:
        the streamingUnits value.
      • withStreamingUnits

        public TransformationInner withStreamingUnits​(Integer streamingUnits)
        Set the streamingUnits property: Specifies the number of streaming units that the streaming job uses.
        Parameters:
        streamingUnits - the streamingUnits value to set.
        Returns:
        the TransformationInner object itself.
      • validStreamingUnits

        public List<Integer> validStreamingUnits()
        Get the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.
        Returns:
        the validStreamingUnits value.
      • withValidStreamingUnits

        public TransformationInner withValidStreamingUnits​(List<Integer> validStreamingUnits)
        Set the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.
        Parameters:
        validStreamingUnits - the validStreamingUnits value to set.
        Returns:
        the TransformationInner object itself.
      • query

        public String query()
        Get the query property: Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.
        Returns:
        the query value.
      • withQuery

        public TransformationInner withQuery​(String query)
        Set the query property: Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.
        Parameters:
        query - the query value to set.
        Returns:
        the TransformationInner object itself.
      • etag

        public String etag()
        Get the etag property: The current entity tag for the transformation. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
        Returns:
        the etag value.
      • validate

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