Interface Limits.Builder

    • Method Detail

      • storageTypes

        Limits.Builder storageTypes​(Collection<StorageType> storageTypes)

        Storage-related attributes that are available for a given instance type.

        Parameters:
        storageTypes - Storage-related attributes that are available for a given instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageTypes

        Limits.Builder storageTypes​(StorageType... storageTypes)

        Storage-related attributes that are available for a given instance type.

        Parameters:
        storageTypes - Storage-related attributes that are available for a given instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageTypes

        Limits.Builder storageTypes​(Consumer<StorageType.Builder>... storageTypes)

        Storage-related attributes that are available for a given instance type.

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

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

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

        Limits.Builder instanceLimits​(InstanceLimits instanceLimits)

        The limits for a given instance type.

        Parameters:
        instanceLimits - The limits for a given instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalLimits

        Limits.Builder additionalLimits​(Collection<AdditionalLimit> additionalLimits)

        List of additional limits that are specific to a given instance type for each of its instance roles.

        Parameters:
        additionalLimits - List of additional limits that are specific to a given instance type for each of its instance roles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalLimits

        Limits.Builder additionalLimits​(AdditionalLimit... additionalLimits)

        List of additional limits that are specific to a given instance type for each of its instance roles.

        Parameters:
        additionalLimits - List of additional limits that are specific to a given instance type for each of its instance roles.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • additionalLimits

        Limits.Builder additionalLimits​(Consumer<AdditionalLimit.Builder>... additionalLimits)

        List of additional limits that are specific to a given instance type for each of its instance roles.

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

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

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