Interface RemediationResource.Builder

  • Method Details

    • accountId

      RemediationResource.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.
    • region

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

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

      RemediationResource.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.
    • resourceOwnerOrgId

      RemediationResource.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.
    • type

      The type of the resource.

      Parameters:
      type - The type of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the resource.

      Parameters:
      name - The name of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier for a resource.

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

      RemediationResource.Builder resourceGuid(String resourceGuid)

      The global identifier used to identify a resource.

      Parameters:
      resourceGuid - The global identifier used to identify a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceRegion

      RemediationResource.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). This field is always included.

      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). This field is always included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudProvider

      RemediationResource.Builder cloudProvider(String cloudProvider)

      The cloud provider where the resource exists.

      • AWS specifies that the resource exists in Amazon Web Services.

      • Azure specifies that the resource exists in Microsoft Azure.

      Parameters:
      cloudProvider - The cloud provider where the resource exists.

      • AWS specifies that the resource exists in Amazon Web Services.

      • Azure specifies that the resource exists in Microsoft Azure.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cloudProvider

      RemediationResource.Builder cloudProvider(CloudProviderName cloudProvider)

      The cloud provider where the resource exists.

      • AWS specifies that the resource exists in Amazon Web Services.

      • Azure specifies that the resource exists in Microsoft Azure.

      Parameters:
      cloudProvider - The cloud provider where the resource exists.

      • AWS specifies that the resource exists in Amazon Web Services.

      • Azure specifies that the resource exists in Microsoft Azure.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: