Interface ResourceInventory.Builder

  • Method Details

    • resourceId

      ResourceInventory.Builder resourceId(String resourceId)

      ID of the resource.

      Parameters:
      resourceId - ID of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      ResourceInventory.Builder resourceType(String resourceType)

      Type of resource.

      Parameters:
      resourceType - Type of resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      ResourceInventory.Builder resourceType(ResourceType resourceType)

      Type of resource.

      Parameters:
      resourceType - Type of resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceArn

      ResourceInventory.Builder resourceArn(String resourceArn)

      Amazon Resource Name (ARN) of the resource.

      Parameters:
      resourceArn - Amazon Resource Name (ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platform

      ResourceInventory.Builder platform(String platform)

      Platform of the resource.

      Parameters:
      platform - Platform of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platformVersion

      ResourceInventory.Builder platformVersion(String platformVersion)

      Platform version of the resource in the inventory.

      Parameters:
      platformVersion - Platform version of the resource in the inventory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceOwningAccountId

      ResourceInventory.Builder resourceOwningAccountId(String resourceOwningAccountId)

      ID of the account that owns the resource.

      Parameters:
      resourceOwningAccountId - ID of the account that owns the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marketplaceProductCodes

      ResourceInventory.Builder marketplaceProductCodes(Collection<String> marketplaceProductCodes)

      List of Marketplace product codes associated with the resource.

      Parameters:
      marketplaceProductCodes - List of Marketplace product codes associated with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • marketplaceProductCodes

      ResourceInventory.Builder marketplaceProductCodes(String... marketplaceProductCodes)

      List of Marketplace product codes associated with the resource.

      Parameters:
      marketplaceProductCodes - List of Marketplace product codes associated with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageOperation

      ResourceInventory.Builder usageOperation(String usageOperation)

      Usage operation value that corresponds to the license type for billing purposes.

      Parameters:
      usageOperation - Usage operation value that corresponds to the license type for billing purposes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amiId

      Amazon Machine Image (AMI) ID associated with the resource.

      Parameters:
      amiId - Amazon Machine Image (AMI) ID associated with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostId

      Dedicated Host ID where the resource is running.

      Parameters:
      hostId - Dedicated Host ID where the resource is running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      Region where the resource is located.

      Parameters:
      region - Region where the resource is located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      ResourceInventory.Builder instanceType(String instanceType)

      EC2 instance type of the resource.

      Parameters:
      instanceType - EC2 instance type of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.