Interface InstanceProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceProperty.Builder,InstanceProperty>,SdkBuilder<InstanceProperty.Builder,InstanceProperty>,SdkPojo
- Enclosing class:
- InstanceProperty
public static interface InstanceProperty.Builder extends SdkPojo, CopyableBuilder<InstanceProperty.Builder,InstanceProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InstanceProperty.BuilderactivationId(String activationId)The activation ID created by Systems Manager when the server or virtual machine (VM) was registeredInstanceProperty.BuilderagentVersion(String agentVersion)The version of SSM Agent running on your managed node.InstanceProperty.Builderarchitecture(String architecture)The CPU architecture of the node.default InstanceProperty.BuilderassociationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview)Sets the value of the AssociationOverview property for this object.InstanceProperty.BuilderassociationOverview(InstanceAggregatedAssociationOverview associationOverview)Sets the value of the AssociationOverview property for this object.InstanceProperty.BuilderassociationStatus(String associationStatus)The status of the State Manager association applied to the managed node.InstanceProperty.BuildercomputerName(String computerName)The fully qualified host name of the managed node.InstanceProperty.BuilderiamRole(String iamRole)The IAM role used in the hybrid activation to register the node with Systems Manager.InstanceProperty.BuilderinstanceId(String instanceId)The ID of the managed node.InstanceProperty.BuilderinstanceRole(String instanceRole)The instance profile attached to the node.InstanceProperty.BuilderinstanceState(String instanceState)The current state of the node.InstanceProperty.BuilderinstanceType(String instanceType)The instance type of the managed node.InstanceProperty.BuilderipAddress(String ipAddress)The public IPv4 address assigned to the node.InstanceProperty.BuilderkeyName(String keyName)The name of the key pair associated with the node.InstanceProperty.BuilderlastAssociationExecutionDate(Instant lastAssociationExecutionDate)The date the association was last run.InstanceProperty.BuilderlastPingDateTime(Instant lastPingDateTime)The date and time when the SSM Agent last pinged the Systems Manager service.InstanceProperty.BuilderlastSuccessfulAssociationExecutionDate(Instant lastSuccessfulAssociationExecutionDate)The last date the association was successfully run.InstanceProperty.BuilderlaunchTime(Instant launchTime)The timestamp for when the node was launched.InstanceProperty.Buildername(String name)The value of the EC2Nametag associated with the node.InstanceProperty.BuilderpingStatus(String pingStatus)Connection status of the SSM Agent on the managed node.InstanceProperty.BuilderpingStatus(PingStatus pingStatus)Connection status of the SSM Agent on the managed node.InstanceProperty.BuilderplatformName(String platformName)The name of the operating system platform running on your managed node.InstanceProperty.BuilderplatformType(String platformType)The operating system platform type of the managed node.InstanceProperty.BuilderplatformType(PlatformType platformType)The operating system platform type of the managed node.InstanceProperty.BuilderplatformVersion(String platformVersion)The version of the OS platform running on your managed node.InstanceProperty.BuilderregistrationDate(Instant registrationDate)The date the node was registered with Systems Manager.InstanceProperty.BuilderresourceType(String resourceType)The type of managed node.InstanceProperty.BuildersourceId(String sourceId)The ID of the source resource.InstanceProperty.BuildersourceType(String sourceType)The type of the source resource.InstanceProperty.BuildersourceType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
InstanceProperty.Builder name(String name)
The value of the EC2
Nametag associated with the node. If aNametag hasn't been applied to the node, this value is blank.- Parameters:
name- The value of the EC2Nametag associated with the node. If aNametag 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
InstanceProperty.Builder instanceId(String 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
InstanceProperty.Builder instanceType(String 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
InstanceProperty.Builder instanceRole(String 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
InstanceProperty.Builder keyName(String 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
InstanceProperty.Builder instanceState(String 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
InstanceProperty.Builder architecture(String 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
InstanceProperty.Builder ipAddress(String 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
InstanceProperty.Builder launchTime(Instant 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
InstanceProperty.Builder pingStatus(String 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,PingStatus
-
pingStatus
InstanceProperty.Builder pingStatus(PingStatus 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,PingStatus
-
lastPingDateTime
InstanceProperty.Builder lastPingDateTime(Instant 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
InstanceProperty.Builder agentVersion(String 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
InstanceProperty.Builder platformType(String platformType)
The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.
- Parameters:
platformType- The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformType,PlatformType
-
platformType
InstanceProperty.Builder platformType(PlatformType platformType)
The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.
- Parameters:
platformType- The operating system platform type of the managed node. For example, Windows Server or Amazon Linux 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PlatformType,PlatformType
-
platformName
InstanceProperty.Builder platformName(String 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
InstanceProperty.Builder platformVersion(String 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
InstanceProperty.Builder activationId(String 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
InstanceProperty.Builder iamRole(String 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
InstanceProperty.Builder registrationDate(Instant 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
InstanceProperty.Builder resourceType(String 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
InstanceProperty.Builder computerName(String 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
InstanceProperty.Builder associationStatus(String 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
InstanceProperty.Builder lastAssociationExecutionDate(Instant 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.Builderavoiding the need to create one manually viaInstanceAggregatedAssociationOverview.builder().When the
Consumercompletes,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:
associationOverview(InstanceAggregatedAssociationOverview)
-
sourceId
InstanceProperty.Builder sourceId(String 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
InstanceProperty.Builder sourceType(String 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,SourceType
-
sourceType
InstanceProperty.Builder sourceType(SourceType 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,SourceType
-
-