public static interface InstanceInformation.Builder extends CopyableBuilder<InstanceInformation.Builder,InstanceInformation>
Modifier and Type | Method and Description |
---|---|
InstanceInformation.Builder |
activationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
|
InstanceInformation.Builder |
agentVersion(String agentVersion)
The version of the SSM Agent running on your Linux instance.
|
default InstanceInformation.Builder |
associationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview)
Information about the association.
|
InstanceInformation.Builder |
associationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
|
InstanceInformation.Builder |
associationStatus(String associationStatus)
The status of the association.
|
InstanceInformation.Builder |
computerName(String computerName)
The fully qualified host name of the managed instance.
|
InstanceInformation.Builder |
iamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
|
InstanceInformation.Builder |
instanceId(String instanceId)
The instance ID.
|
InstanceInformation.Builder |
ipAddress(String ipAddress)
The IP address of the managed instance.
|
InstanceInformation.Builder |
isLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM Agent is running on your instance.
|
InstanceInformation.Builder |
lastAssociationExecutionDate(Instant lastAssociationExecutionDate)
The date the association was last executed.
|
InstanceInformation.Builder |
lastPingDateTime(Instant lastPingDateTime)
The date and time when agent last pinged Systems Manager service.
|
InstanceInformation.Builder |
lastSuccessfulAssociationExecutionDate(Instant lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
|
InstanceInformation.Builder |
name(String name)
The name of the managed instance.
|
InstanceInformation.Builder |
pingStatus(PingStatus pingStatus)
Connection status of the SSM Agent.
|
InstanceInformation.Builder |
pingStatus(String pingStatus)
Connection status of the SSM Agent.
|
InstanceInformation.Builder |
platformName(String platformName)
The name of the operating system platform running on your instance.
|
InstanceInformation.Builder |
platformType(PlatformType platformType)
The operating system platform type.
|
InstanceInformation.Builder |
platformType(String platformType)
The operating system platform type.
|
InstanceInformation.Builder |
platformVersion(String platformVersion)
The version of the OS platform running on your instance.
|
InstanceInformation.Builder |
registrationDate(Instant registrationDate)
The date the server or VM was registered with AWS as a managed instance.
|
InstanceInformation.Builder |
resourceType(ResourceType resourceType)
The type of instance.
|
InstanceInformation.Builder |
resourceType(String resourceType)
The type of instance.
|
copy
applyMutation, build
InstanceInformation.Builder instanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.InstanceInformation.Builder pingStatus(String pingStatus)
Connection status of the SSM Agent.
pingStatus
- Connection status of the SSM Agent.PingStatus
,
PingStatus
InstanceInformation.Builder pingStatus(PingStatus pingStatus)
Connection status of the SSM Agent.
pingStatus
- Connection status of the SSM Agent.PingStatus
,
PingStatus
InstanceInformation.Builder lastPingDateTime(Instant lastPingDateTime)
The date and time when agent last pinged Systems Manager service.
lastPingDateTime
- The date and time when agent last pinged Systems Manager service.InstanceInformation.Builder agentVersion(String agentVersion)
The version of the SSM Agent running on your Linux instance.
agentVersion
- The version of the SSM Agent running on your Linux instance.InstanceInformation.Builder isLatestVersion(Boolean isLatestVersion)
Indicates whether latest version of the SSM Agent is running on your instance.
isLatestVersion
- Indicates whether latest version of the SSM Agent is running on your instance.InstanceInformation.Builder platformType(String platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
,
PlatformType
InstanceInformation.Builder platformType(PlatformType platformType)
The operating system platform type.
platformType
- The operating system platform type.PlatformType
,
PlatformType
InstanceInformation.Builder platformName(String platformName)
The name of the operating system platform running on your instance.
platformName
- The name of the operating system platform running on your instance.InstanceInformation.Builder platformVersion(String platformVersion)
The version of the OS platform running on your instance.
platformVersion
- The version of the OS platform running on your instance.InstanceInformation.Builder activationId(String activationId)
The activation ID created by Systems Manager when the server or VM was registered.
activationId
- The activation ID created by Systems Manager when the server or VM was registered.InstanceInformation.Builder iamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.
iamRole
- The Amazon Identity and Access Management (IAM) role assigned to EC2 instances or managed instances.InstanceInformation.Builder registrationDate(Instant registrationDate)
The date the server or VM was registered with AWS as a managed instance.
registrationDate
- The date the server or VM was registered with AWS as a managed instance.InstanceInformation.Builder resourceType(String resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or managed instances.ResourceType
,
ResourceType
InstanceInformation.Builder resourceType(ResourceType resourceType)
The type of instance. Instances are either EC2 instances or managed instances.
resourceType
- The type of instance. Instances are either EC2 instances or managed instances.ResourceType
,
ResourceType
InstanceInformation.Builder name(String name)
The name of the managed instance.
name
- The name of the managed instance.InstanceInformation.Builder ipAddress(String ipAddress)
The IP address of the managed instance.
ipAddress
- The IP address of the managed instance.InstanceInformation.Builder computerName(String computerName)
The fully qualified host name of the managed instance.
computerName
- The fully qualified host name of the managed instance.InstanceInformation.Builder associationStatus(String associationStatus)
The status of the association.
associationStatus
- The status of the association.InstanceInformation.Builder lastAssociationExecutionDate(Instant lastAssociationExecutionDate)
The date the association was last executed.
lastAssociationExecutionDate
- The date the association was last executed.InstanceInformation.Builder lastSuccessfulAssociationExecutionDate(Instant lastSuccessfulAssociationExecutionDate)
The last date the association was successfully run.
lastSuccessfulAssociationExecutionDate
- The last date the association was successfully run.InstanceInformation.Builder associationOverview(InstanceAggregatedAssociationOverview associationOverview)
Information about the association.
associationOverview
- Information about the association.default InstanceInformation.Builder associationOverview(Consumer<InstanceAggregatedAssociationOverview.Builder> associationOverview)
Information about the association.
This is a convenience that creates an instance of theInstanceAggregatedAssociationOverview.Builder
avoiding the need to create one manually via InstanceAggregatedAssociationOverview.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to associationOverview(InstanceAggregatedAssociationOverview)
.associationOverview
- a consumer that will call methods on InstanceAggregatedAssociationOverview.Builder
associationOverview(InstanceAggregatedAssociationOverview)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.