Interface CoverageEc2InstanceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CoverageEc2InstanceDetails.Builder,
,CoverageEc2InstanceDetails> SdkBuilder<CoverageEc2InstanceDetails.Builder,
,CoverageEc2InstanceDetails> SdkPojo
- Enclosing class:
CoverageEc2InstanceDetails
-
Method Summary
Modifier and TypeMethodDescriptionagentDetails
(Consumer<AgentDetails.Builder> agentDetails) Information about the installed security agent.agentDetails
(AgentDetails agentDetails) Information about the installed security agent.clusterArn
(String clusterArn) The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 instance.instanceId
(String instanceId) The Amazon EC2 instance ID.instanceType
(String instanceType) The instance type of the Amazon EC2 instance.managementType
(String managementType) Indicates how the GuardDuty security agent is managed for this resource.managementType
(ManagementType managementType) Indicates how the GuardDuty security agent is managed for this resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
default CoverageEc2InstanceDetails.Builder agentDetails(Consumer<AgentDetails.Builder> agentDetails) Information about the installed security agent.
This is a convenience method that creates an instance of theAgentDetails.Builder
avoiding the need to create one manually viaAgentDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentDetails(AgentDetails)
.- Parameters:
agentDetails
- a consumer that will call methods onAgentDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
-