Interface InstancesToExclude.Builder

    • Method Detail

      • instances

        InstancesToExclude.Builder instances​(Collection<String> instances)

        List of user-specified instances that must not be stopped.

        Parameters:
        instances - List of user-specified instances that must not be stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instances

        InstancesToExclude.Builder instances​(String... instances)

        List of user-specified instances that must not be stopped.

        Parameters:
        instances - List of user-specified instances that must not be stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        InstancesToExclude.Builder accountIds​(Collection<String> accountIds)

        IDs of the accounts that own each instance that must not be stopped.

        Parameters:
        accountIds - IDs of the accounts that own each instance that must not be stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        InstancesToExclude.Builder accountIds​(String... accountIds)

        IDs of the accounts that own each instance that must not be stopped.

        Parameters:
        accountIds - IDs of the accounts that own each instance that must not be stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • servicesWithStrings

        InstancesToExclude.Builder servicesWithStrings​(Collection<String> services)

        Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.

        Parameters:
        services - Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • servicesWithStrings

        InstancesToExclude.Builder servicesWithStrings​(String... services)

        Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.

        Parameters:
        services - Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • services

        InstancesToExclude.Builder services​(Collection<AWSServiceName> services)

        Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.

        Parameters:
        services - Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • services

        InstancesToExclude.Builder services​(AWSServiceName... services)

        Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.

        Parameters:
        services - Names of the services that own each instance that must not be stopped in order to free up the capacity needed to run the capacity task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.