Interface AssetAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AssetAttributes.Builder,AssetAttributes>, SdkBuilder<AssetAttributes.Builder,AssetAttributes>, SdkPojo
Enclosing class:
AssetAttributes

public static interface AssetAttributes.Builder extends SdkPojo, CopyableBuilder<AssetAttributes.Builder,AssetAttributes>
  • Method Details

    • schemaVersion

      AssetAttributes.Builder schemaVersion(Integer schemaVersion)

      The schema version of this data type.

      Parameters:
      schemaVersion - The schema version of this data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentId

      AssetAttributes.Builder agentId(String agentId)

      The ID of the agent that is installed on the EC2 instance where the finding is generated.

      Parameters:
      agentId - The ID of the agent that is installed on the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoScalingGroup

      AssetAttributes.Builder autoScalingGroup(String autoScalingGroup)

      The Auto Scaling group of the EC2 instance where the finding is generated.

      Parameters:
      autoScalingGroup - The Auto Scaling group of the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • amiId

      The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.

      Parameters:
      amiId - The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostname

      AssetAttributes.Builder hostname(String hostname)

      The hostname of the EC2 instance where the finding is generated.

      Parameters:
      hostname - The hostname of the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv4Addresses

      AssetAttributes.Builder ipv4Addresses(Collection<String> ipv4Addresses)

      The list of IP v4 addresses of the EC2 instance where the finding is generated.

      Parameters:
      ipv4Addresses - The list of IP v4 addresses of the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipv4Addresses

      AssetAttributes.Builder ipv4Addresses(String... ipv4Addresses)

      The list of IP v4 addresses of the EC2 instance where the finding is generated.

      Parameters:
      ipv4Addresses - The list of IP v4 addresses of the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags related to the EC2 instance where the finding is generated.

      Parameters:
      tags - The tags related to the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags related to the EC2 instance where the finding is generated.

      Parameters:
      tags - The tags related to the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags related to the EC2 instance where the finding is generated.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkInterfaces

      AssetAttributes.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)

      An array of the network interfaces interacting with the EC2 instance where the finding is generated.

      Parameters:
      networkInterfaces - An array of the network interfaces interacting with the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      AssetAttributes.Builder networkInterfaces(NetworkInterface... networkInterfaces)

      An array of the network interfaces interacting with the EC2 instance where the finding is generated.

      Parameters:
      networkInterfaces - An array of the network interfaces interacting with the EC2 instance where the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkInterfaces

      AssetAttributes.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)

      An array of the network interfaces interacting with the EC2 instance where the finding is generated.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkInterfaces(List<NetworkInterface>).

      Parameters:
      networkInterfaces - a consumer that will call methods on NetworkInterface.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: