Interface SoftwareResourceResult.Builder

  • Method Details

    • accountId

      SoftwareResourceResult.Builder accountId(String accountId)

      The Amazon Web Services account that recorded the resource data in Security Hub.

      Parameters:
      accountId - The Amazon Web Services account that recorded the resource data in Security Hub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      SoftwareResourceResult.Builder resourceType(String resourceType)

      The type of resource, for example AWS::EC2::Instance or AWS::Lambda::Function.

      Parameters:
      resourceType - The type of resource, for example AWS::EC2::Instance or AWS::Lambda::Function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The Amazon Web Services Region that recorded the resource data in Security Hub.

      Parameters:
      region - The Amazon Web Services Region that recorded the resource data in Security Hub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      SoftwareResourceResult.Builder resourceId(String resourceId)

      The unique identifier for a resource.

      Parameters:
      resourceId - The unique identifier for a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceProvider

      SoftwareResourceResult.Builder resourceProvider(String resourceProvider)

      The cloud provider where the resource exists. Valid values are AWS and Azure.

      Parameters:
      resourceProvider - The cloud provider where the resource exists. Valid values are AWS and Azure .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceOwnerOrgId

      SoftwareResourceResult.Builder resourceOwnerOrgId(String resourceOwnerOrgId)

      The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.

      Parameters:
      resourceOwnerOrgId - The identifier of the cloud organization that owns the resource. For Amazon Web Services resources, this is the Organizations ID. For Azure resources, this is the Azure tenant ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceOwnerAccountId

      SoftwareResourceResult.Builder resourceOwnerAccountId(String resourceOwnerAccountId)

      The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.

      Parameters:
      resourceOwnerAccountId - The identifier of the cloud account that owns the resource. For Amazon Web Services resources, this is the Amazon Web Services account ID. For Azure resources, this is the Azure subscription ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceCloudPartition

      SoftwareResourceResult.Builder resourceCloudPartition(String resourceCloudPartition)

      The cloud partition where the resource exists. For Amazon Web Services, valid values include aws, aws-cn, and aws-us-gov. This field isn't returned for cloud providers that don't use partitions.

      Parameters:
      resourceCloudPartition - The cloud partition where the resource exists. For Amazon Web Services, valid values include aws, aws-cn, and aws-us-gov. This field isn't returned for cloud providers that don't use partitions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceRegion

      SoftwareResourceResult.Builder resourceRegion(String resourceRegion)

      The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example, us-east-1). For Azure resources, this is the Azure region (for example, westus2).

      Parameters:
      resourceRegion - The native cloud region where the resource is located. For Amazon Web Services, this is an Amazon Web Services Region (for example, us-east-1). For Azure resources, this is the Azure region (for example, westus2).
      Returns:
      Returns a reference to this object so that method calls can be chained together.