Interface DescribeMalwareScansResponse.Builder

    • Method Detail

      • scans

        DescribeMalwareScansResponse.Builder scans​(Collection<Scan> scans)

        Contains information about malware scans associated with GuardDuty Malware Protection for EC2.

        Parameters:
        scans - Contains information about malware scans associated with GuardDuty Malware Protection for EC2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scans

        DescribeMalwareScansResponse.Builder scans​(Scan... scans)

        Contains information about malware scans associated with GuardDuty Malware Protection for EC2.

        Parameters:
        scans - Contains information about malware scans associated with GuardDuty Malware Protection for EC2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scans

        DescribeMalwareScansResponse.Builder scans​(Consumer<Scan.Builder>... scans)

        Contains information about malware scans associated with GuardDuty Malware Protection for EC2.

        This is a convenience method that creates an instance of the Scan.Builder avoiding the need to create one manually via Scan.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #scans(List).

        Parameters:
        scans - a consumer that will call methods on Scan.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #scans(java.util.Collection)
      • nextToken

        DescribeMalwareScansResponse.Builder nextToken​(String nextToken)

        The pagination parameter to be used on the next list operation to retrieve more items.

        Parameters:
        nextToken - The pagination parameter to be used on the next list operation to retrieve more items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.