Class DescribeFlowLogsRequest

    • Constructor Detail

      • DescribeFlowLogsRequest

        public DescribeFlowLogsRequest()
    • Method Detail

      • getFlowLogIds

        public List<String> getFlowLogIds()

        One or more flow log IDs.

        Returns:
        One or more flow log IDs.
      • setFlowLogIds

        public void setFlowLogIds​(Collection<String> flowLogIds)

        One or more flow log IDs.

        Parameters:
        flowLogIds - One or more flow log IDs.
      • withFlowLogIds

        public DescribeFlowLogsRequest withFlowLogIds​(Collection<String> flowLogIds)

        One or more flow log IDs.

        Parameters:
        flowLogIds - One or more flow log IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFilter

        public List<Filter> getFilter()

        One or more filters.

        • deliver-log-status - The status of the logs delivery ( SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic (ACCEPT | REJECT | ALL)

        Returns:
        One or more filters.

        • deliver-log-status - The status of the logs delivery (SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic ( ACCEPT | REJECT | ALL)

      • setFilter

        public void setFilter​(Collection<Filter> filter)

        One or more filters.

        • deliver-log-status - The status of the logs delivery ( SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic (ACCEPT | REJECT | ALL)

        Parameters:
        filter - One or more filters.

        • deliver-log-status - The status of the logs delivery (SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic ( ACCEPT | REJECT | ALL)

      • withFilter

        public DescribeFlowLogsRequest withFilter​(Filter... filter)

        One or more filters.

        • deliver-log-status - The status of the logs delivery ( SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic (ACCEPT | REJECT | ALL)

        NOTE: This method appends the values to the existing list (if any). Use setFilter(java.util.Collection) or withFilter(java.util.Collection) if you want to override the existing values.

        Parameters:
        filter - One or more filters.

        • deliver-log-status - The status of the logs delivery (SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic ( ACCEPT | REJECT | ALL)

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFilter

        public DescribeFlowLogsRequest withFilter​(Collection<Filter> filter)

        One or more filters.

        • deliver-log-status - The status of the logs delivery ( SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic (ACCEPT | REJECT | ALL)

        Parameters:
        filter - One or more filters.

        • deliver-log-status - The status of the logs delivery (SUCCESS | FAILED).

        • flow-log-id - The ID of the flow log.

        • log-group-name - The name of the log group.

        • resource-id - The ID of the VPC, subnet, or network interface.

        • traffic-type - The type of traffic ( ACCEPT | REJECT | ALL)

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        The token to retrieve the next page of results.

        Parameters:
        nextToken - The token to retrieve the next page of results.
      • getNextToken

        public String getNextToken()

        The token to retrieve the next page of results.

        Returns:
        The token to retrieve the next page of results.
      • withNextToken

        public DescribeFlowLogsRequest withNextToken​(String nextToken)

        The token to retrieve the next page of results.

        Parameters:
        nextToken - The token to retrieve the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxResults

        public void setMaxResults​(Integer maxResults)

        The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the flow log IDs parameter in the same request.

        Parameters:
        maxResults - The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the flow log IDs parameter in the same request.
      • getMaxResults

        public Integer getMaxResults()

        The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the flow log IDs parameter in the same request.

        Returns:
        The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the flow log IDs parameter in the same request.
      • withMaxResults

        public DescribeFlowLogsRequest withMaxResults​(Integer maxResults)

        The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the flow log IDs parameter in the same request.

        Parameters:
        maxResults - The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the flow log IDs parameter in the same request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object