Interface AgentDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AgentDetails.Builder,
,AgentDetails> SdkBuilder<AgentDetails.Builder,
,AgentDetails> SdkPojo
- Enclosing class:
AgentDetails
-
Method Summary
Modifier and TypeMethodDescriptionagentCpuCores
(Integer... agentCpuCores) List of CPU cores reserved for the agent.agentCpuCores
(Collection<Integer> agentCpuCores) List of CPU cores reserved for the agent.agentVersion
(String agentVersion) Current agent version.componentVersions
(Collection<ComponentVersion> componentVersions) List of versions being used by agent components.componentVersions
(Consumer<ComponentVersion.Builder>... componentVersions) List of versions being used by agent components.componentVersions
(ComponentVersion... componentVersions) List of versions being used by agent components.instanceId
(String instanceId) ID of EC2 instance agent is running on.instanceType
(String instanceType) Type of EC2 instance agent is running on.reservedCpuCores
(Integer... reservedCpuCores) reservedCpuCores
(Collection<Integer> reservedCpuCores) 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
-
agentCpuCores
List of CPU cores reserved for the agent.
- Parameters:
agentCpuCores
- List of CPU cores reserved for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCpuCores
List of CPU cores reserved for the agent.
- Parameters:
agentCpuCores
- List of CPU cores reserved for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
Current agent version.
- Parameters:
agentVersion
- Current agent version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersions
List of versions being used by agent components.
- Parameters:
componentVersions
- List of versions being used by agent components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersions
List of versions being used by agent components.
- Parameters:
componentVersions
- List of versions being used by agent components.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersions
List of versions being used by agent components.
This is a convenience method that creates an instance of theComponentVersion.Builder
avoiding the need to create one manually viaComponentVersion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomponentVersions(List<ComponentVersion>)
.- Parameters:
componentVersions
- a consumer that will call methods onComponentVersion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceId
ID of EC2 instance agent is running on.
- Parameters:
instanceId
- ID of EC2 instance agent is running on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
Type of EC2 instance agent is running on.
- Parameters:
instanceType
- Type of EC2 instance agent is running on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedCpuCores
This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
- Parameters:
reservedCpuCores
-This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservedCpuCores
This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
- Parameters:
reservedCpuCores
-This field should not be used. Use agentCpuCores instead.
List of CPU cores reserved for processes other than the agent running on the EC2 instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-