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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CoverageEc2InstanceDetails.BuilderagentDetails(Consumer<AgentDetails.Builder> agentDetails)Information about the installed security agent.CoverageEc2InstanceDetails.BuilderagentDetails(AgentDetails agentDetails)Information about the installed security agent.CoverageEc2InstanceDetails.BuilderclusterArn(String clusterArn)The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 instance.CoverageEc2InstanceDetails.BuilderinstanceId(String instanceId)The Amazon EC2 instance ID.CoverageEc2InstanceDetails.BuilderinstanceType(String instanceType)The instance type of the Amazon EC2 instance.CoverageEc2InstanceDetails.BuildermanagementType(String managementType)Indicates how the GuardDuty security agent is managed for this resource.CoverageEc2InstanceDetails.BuildermanagementType(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 Detail
-
instanceId
CoverageEc2InstanceDetails.Builder instanceId(String 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
CoverageEc2InstanceDetails.Builder clusterArn(String 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
CoverageEc2InstanceDetails.Builder agentDetails(AgentDetails 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.Builderavoiding the need to create one manually viaAgentDetails.builder().When the
Consumercompletes,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:
agentDetails(AgentDetails)
-
managementType
CoverageEc2InstanceDetails.Builder managementType(String managementType)
Indicates how the GuardDuty security agent is managed for this resource.
-
AUTO_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus 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_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus 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,ManagementType
-
-
managementType
CoverageEc2InstanceDetails.Builder managementType(ManagementType managementType)
Indicates how the GuardDuty security agent is managed for this resource.
-
AUTO_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus 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_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus 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,ManagementType
-
-
-