Interface GcpCapabilityScope.Builder

  • Method Details

    • scopeType

      GcpCapabilityScope.Builder scopeType(String scopeType)

      The type of scope: ORGANIZATION, which scans all projects in the GCP organization, or PROJECT, which scans only the specified GCP projects.

      Parameters:
      scopeType - The type of scope: ORGANIZATION, which scans all projects in the GCP organization, or PROJECT, which scans only the specified GCP projects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopeType

      GcpCapabilityScope.Builder scopeType(ScopeType scopeType)

      The type of scope: ORGANIZATION, which scans all projects in the GCP organization, or PROJECT, which scans only the specified GCP projects.

      Parameters:
      scopeType - The type of scope: ORGANIZATION, which scans all projects in the GCP organization, or PROJECT, which scans only the specified GCP projects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopeValues

      GcpCapabilityScope.Builder scopeValues(Collection<String> scopeValues)

      The GCP project IDs to scan when scopeType is PROJECT. Not used when scopeType is ORGANIZATION. Amazon Inspector scans the organization of the Amazon Web Services Config connector.

      Parameters:
      scopeValues - The GCP project IDs to scan when scopeType is PROJECT. Not used when scopeType is ORGANIZATION. Amazon Inspector scans the organization of the Amazon Web Services Config connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopeValues

      GcpCapabilityScope.Builder scopeValues(String... scopeValues)

      The GCP project IDs to scan when scopeType is PROJECT. Not used when scopeType is ORGANIZATION. Amazon Inspector scans the organization of the Amazon Web Services Config connector.

      Parameters:
      scopeValues - The GCP project IDs to scan when scopeType is PROJECT. Not used when scopeType is ORGANIZATION. Amazon Inspector scans the organization of the Amazon Web Services Config connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the scope configuration.

      Parameters:
      state - The current state of the scope configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the scope configuration.

      Parameters:
      state - The current state of the scope configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      GcpCapabilityScope.Builder stateReason(String stateReason)

      The reason for the current state of the scope configuration.

      Parameters:
      stateReason - The reason for the current state of the scope configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.