Interface DescribeFleetHistoryRequest.Builder

    • Method Detail

      • dryRun

        DescribeFleetHistoryRequest.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.
      • eventType

        DescribeFleetHistoryRequest.Builder eventType​(String eventType)

        The type of events to describe. By default, all events are described.

        Parameters:
        eventType - The type of events to describe. By default, all events are described.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FleetEventType, FleetEventType
      • maxResults

        DescribeFleetHistoryRequest.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.

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeFleetHistoryRequest.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.
      • fleetId

        DescribeFleetHistoryRequest.Builder fleetId​(String fleetId)

        The ID of the EC2 Fleet.

        Parameters:
        fleetId - The ID of the EC2 Fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        DescribeFleetHistoryRequest.Builder startTime​(Instant startTime)

        The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

        Parameters:
        startTime - The start date and time for the events, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).
        Returns:
        Returns a reference to this object so that method calls can be chained together.