Interface CoverageEc2InstanceDetails.Builder

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

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

    • instanceId

      The Amazon EC2 instance ID.

      Parameters:
      instanceId - The Amazon EC2 instance ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceType

      CoverageEc2InstanceDetails.Builder instanceType(String instanceType)

      The instance type of the Amazon EC2 instance.

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

      The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 instance.

      Parameters:
      clusterArn - The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentDetails

      Information about the installed security agent.

      Parameters:
      agentDetails - Information about the installed security agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • agentDetails

      Information about the installed security agent.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to agentDetails(AgentDetails).

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

      CoverageEc2InstanceDetails.Builder managementType(String managementType)

      Indicates how the GuardDuty security agent is managed for this resource.

      • AUTO_MANAGED indicates that GuardDuty deploys and manages updates for this resource.

      • MANUAL indicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.

      The DISABLED status doesn't apply to Amazon EC2 instances and Amazon EKS clusters.

      Parameters:
      managementType - Indicates how the GuardDuty security agent is managed for this resource.

      • AUTO_MANAGED indicates that GuardDuty deploys and manages updates for this resource.

      • MANUAL indicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.

      The DISABLED status doesn't apply to Amazon EC2 instances and Amazon EKS clusters.

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

      CoverageEc2InstanceDetails.Builder managementType(ManagementType managementType)

      Indicates how the GuardDuty security agent is managed for this resource.

      • AUTO_MANAGED indicates that GuardDuty deploys and manages updates for this resource.

      • MANUAL indicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.

      The DISABLED status doesn't apply to Amazon EC2 instances and Amazon EKS clusters.

      Parameters:
      managementType - Indicates how the GuardDuty security agent is managed for this resource.

      • AUTO_MANAGED indicates that GuardDuty deploys and manages updates for this resource.

      • MANUAL indicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.

      The DISABLED status doesn't apply to Amazon EC2 instances and Amazon EKS clusters.

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