Interface InstanceProperty.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceProperty.Builder,
,InstanceProperty> SdkBuilder<InstanceProperty.Builder,
,InstanceProperty> SdkPojo
- Enclosing class:
InstanceProperty
-
Method Summary
Modifier and TypeMethodDescriptionactivationId
(String activationId) The activation ID created by Systems Manager when the server or virtual machine (VM) was registeredagentVersion
(String agentVersion) The version of SSM Agent running on your managed node.architecture
(String architecture) The CPU architecture of the node.default InstanceProperty.Builder
associationOverview
(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview) Sets the value of the AssociationOverview property for this object.associationOverview
(InstanceAggregatedAssociationOverview associationOverview) Sets the value of the AssociationOverview property for this object.associationStatus
(String associationStatus) The status of the State Manager association applied to the managed node.computerName
(String computerName) The fully qualified host name of the managed node.The IAM role used in the hybrid activation to register the node with Systems Manager.instanceId
(String instanceId) The ID of the managed node.instanceRole
(String instanceRole) The instance profile attached to the node.instanceState
(String instanceState) The current state of the node.instanceType
(String instanceType) The instance type of the managed node.The public IPv4 address assigned to the node.The name of the key pair associated with the node.lastAssociationExecutionDate
(Instant lastAssociationExecutionDate) The date the association was last run.lastPingDateTime
(Instant lastPingDateTime) The date and time when the SSM Agent last pinged the Systems Manager service.lastSuccessfulAssociationExecutionDate
(Instant lastSuccessfulAssociationExecutionDate) The last date the association was successfully run.launchTime
(Instant launchTime) The timestamp for when the node was launched.The value of the EC2Name
tag associated with the node.pingStatus
(String pingStatus) Connection status of the SSM Agent on the managed node.pingStatus
(PingStatus pingStatus) Connection status of the SSM Agent on the managed node.platformName
(String platformName) The name of the operating system platform running on your managed node.platformType
(String platformType) The operating system platform type of the managed node.platformType
(PlatformType platformType) The operating system platform type of the managed node.platformVersion
(String platformVersion) The version of the OS platform running on your managed node.registrationDate
(Instant registrationDate) The date the node was registered with Systems Manager.resourceType
(String resourceType) The type of managed node.The ID of the source resource.sourceType
(String sourceType) The type of the source resource.sourceType
(SourceType sourceType) The type of the source 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
-
name
The value of the EC2
Name
tag associated with the node. If aName
tag hasn't been applied to the node, this value is blank.- Parameters:
name
- The value of the EC2Name
tag associated with the node. If aName
tag hasn't been applied to the node, this value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The ID of the managed node.
- Parameters:
instanceId
- The ID of the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type of the managed node. For example, t3.large.
- Parameters:
instanceType
- The instance type of the managed node. For example, t3.large.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRole
The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.
- Parameters:
instanceRole
- The instance profile attached to the node. If an instance profile isn't attached to the node, this value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyName
The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.
- Parameters:
keyName
- The name of the key pair associated with the node. If a key pair isnt't associated with the node, this value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceState
The current state of the node.
- Parameters:
instanceState
- The current state of the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
architecture
The CPU architecture of the node. For example, x86_64.
- Parameters:
architecture
- The CPU architecture of the node. For example, x86_64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.
- Parameters:
ipAddress
- The public IPv4 address assigned to the node. If a public IPv4 address isn't assigned to the node, this value is blank.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTime
The timestamp for when the node was launched.
- Parameters:
launchTime
- The timestamp for when the node was launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pingStatus
Connection status of the SSM Agent on the managed node.
- Parameters:
pingStatus
- Connection status of the SSM Agent on the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pingStatus
Connection status of the SSM Agent on the managed node.
- Parameters:
pingStatus
- Connection status of the SSM Agent on the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastPingDateTime
The date and time when the SSM Agent last pinged the Systems Manager service.
- Parameters:
lastPingDateTime
- The date and time when the SSM Agent last pinged the Systems Manager service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentVersion
The version of SSM Agent running on your managed node.
- Parameters:
agentVersion
- The version of SSM Agent running on your managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformType
The operating system platform type of the managed node. For example, Windows.
- Parameters:
platformType
- The operating system platform type of the managed node. For example, Windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platformType
The operating system platform type of the managed node. For example, Windows.
- Parameters:
platformType
- The operating system platform type of the managed node. For example, Windows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platformName
The name of the operating system platform running on your managed node.
- Parameters:
platformName
- The name of the operating system platform running on your managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformVersion
The version of the OS platform running on your managed node.
- Parameters:
platformVersion
- The version of the OS platform running on your managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activationId
The activation ID created by Systems Manager when the server or virtual machine (VM) was registered
- Parameters:
activationId
- The activation ID created by Systems Manager when the server or virtual machine (VM) was registered- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRole
The IAM role used in the hybrid activation to register the node with Systems Manager.
- Parameters:
iamRole
- The IAM role used in the hybrid activation to register the node with Systems Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationDate
The date the node was registered with Systems Manager.
- Parameters:
registrationDate
- The date the node was registered with Systems Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of managed node.
- Parameters:
resourceType
- The type of managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computerName
The fully qualified host name of the managed node.
- Parameters:
computerName
- The fully qualified host name of the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationStatus
The status of the State Manager association applied to the managed node.
- Parameters:
associationStatus
- The status of the State Manager association applied to the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastAssociationExecutionDate
The date the association was last run.
- Parameters:
lastAssociationExecutionDate
- The date the association was last run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSuccessfulAssociationExecutionDate
InstanceProperty.Builder lastSuccessfulAssociationExecutionDate(Instant lastSuccessfulAssociationExecutionDate) The last date the association was successfully run.
- Parameters:
lastSuccessfulAssociationExecutionDate
- The last date the association was successfully run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationOverview
InstanceProperty.Builder associationOverview(InstanceAggregatedAssociationOverview associationOverview) Sets the value of the AssociationOverview property for this object.- Parameters:
associationOverview
- The new value for the AssociationOverview property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationOverview
default InstanceProperty.Builder associationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview) Sets the value of the AssociationOverview property for this object. This is a convenience method that creates an instance of theInstanceAggregatedAssociationOverview.Builder
avoiding the need to create one manually viaInstanceAggregatedAssociationOverview.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociationOverview(InstanceAggregatedAssociationOverview)
.- Parameters:
associationOverview
- a consumer that will call methods onInstanceAggregatedAssociationOverview.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceId
The ID of the source resource.
- Parameters:
sourceId
- The ID of the source resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
The type of the source resource.
- Parameters:
sourceType
- The type of the source resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The type of the source resource.
- Parameters:
sourceType
- The type of the source resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-