Interface ListUsageForLicenseConfigurationRequest.Builder

    • Method Detail

      • licenseConfigurationArn

        ListUsageForLicenseConfigurationRequest.Builder licenseConfigurationArn​(String licenseConfigurationArn)

        Amazon Resource Name (ARN) of the license configuration.

        Parameters:
        licenseConfigurationArn - Amazon Resource Name (ARN) of the license configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListUsageForLicenseConfigurationRequest.Builder maxResults​(Integer maxResults)

        Maximum number of results to return in a single call.

        Parameters:
        maxResults - Maximum number of results to return in a single call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListUsageForLicenseConfigurationRequest.Builder nextToken​(String nextToken)

        Token for the next set of results.

        Parameters:
        nextToken - Token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        ListUsageForLicenseConfigurationRequest.Builder filters​(Collection<Filter> filters)

        Filters to scope the results. The following filters and logical operators are supported:

        • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

        • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

        • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

        Parameters:
        filters - Filters to scope the results. The following filters and logical operators are supported:

        • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

        • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

        • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

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

        ListUsageForLicenseConfigurationRequest.Builder filters​(Filter... filters)

        Filters to scope the results. The following filters and logical operators are supported:

        • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

        • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

        • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

        Parameters:
        filters - Filters to scope the results. The following filters and logical operators are supported:

        • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

        • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

        • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

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

        ListUsageForLicenseConfigurationRequest.Builder filters​(Consumer<Filter.Builder>... filters)

        Filters to scope the results. The following filters and logical operators are supported:

        • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.

        • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.

        • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

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

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

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