Interface DescribeInstanceCreditSpecificationsRequest.Builder

    • Method Detail

      • dryRun

        DescribeInstanceCreditSpecificationsRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeInstanceCreditSpecificationsRequest.Builder filters​(Filter... filters)

        The filters.

        • instance-id - The ID of the instance.

        Parameters:
        filters - The filters.

        • instance-id - The ID of the instance.

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

        DescribeInstanceCreditSpecificationsRequest.Builder instanceIds​(Collection<String> instanceIds)

        The instance IDs.

        Default: Describes all your instances.

        Constraints: Maximum 1000 explicitly specified instance IDs.

        Parameters:
        instanceIds - The instance IDs.

        Default: Describes all your instances.

        Constraints: Maximum 1000 explicitly specified instance IDs.

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

        DescribeInstanceCreditSpecificationsRequest.Builder instanceIds​(String... instanceIds)

        The instance IDs.

        Default: Describes all your instances.

        Constraints: Maximum 1000 explicitly specified instance IDs.

        Parameters:
        instanceIds - The instance IDs.

        Default: Describes all your instances.

        Constraints: Maximum 1000 explicitly specified instance IDs.

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

        DescribeInstanceCreditSpecificationsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

        You cannot specify this parameter and the instance IDs parameter in the same call.

        Parameters:
        maxResults - The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

        You cannot specify this parameter and the instance IDs parameter in the same call.

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

        DescribeInstanceCreditSpecificationsRequest.Builder nextToken​(String nextToken)

        The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

        Parameters:
        nextToken - The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.