public static interface InstanceAccess.Builder extends CopyableBuilder<InstanceAccess.Builder,InstanceAccess>
Modifier and Type | Method and Description |
---|---|
default InstanceAccess.Builder |
credentials(Consumer<InstanceCredentials.Builder> credentials)
Credentials required to access the instance.
|
InstanceAccess.Builder |
credentials(InstanceCredentials credentials)
Credentials required to access the instance.
|
InstanceAccess.Builder |
fleetId(String fleetId)
Unique identifier for a fleet containing the instance being accessed.
|
InstanceAccess.Builder |
instanceId(String instanceId)
Unique identifier for an instance being accessed.
|
InstanceAccess.Builder |
ipAddress(String ipAddress)
IP address assigned to the instance.
|
InstanceAccess.Builder |
operatingSystem(OperatingSystem operatingSystem)
Operating system that is running on the instance.
|
InstanceAccess.Builder |
operatingSystem(String operatingSystem)
Operating system that is running on the instance.
|
copy
applyMutation, build
InstanceAccess.Builder fleetId(String fleetId)
Unique identifier for a fleet containing the instance being accessed.
fleetId
- Unique identifier for a fleet containing the instance being accessed.InstanceAccess.Builder instanceId(String instanceId)
Unique identifier for an instance being accessed.
instanceId
- Unique identifier for an instance being accessed.InstanceAccess.Builder ipAddress(String ipAddress)
IP address assigned to the instance.
ipAddress
- IP address assigned to the instance.InstanceAccess.Builder operatingSystem(String operatingSystem)
Operating system that is running on the instance.
operatingSystem
- Operating system that is running on the instance.OperatingSystem
,
OperatingSystem
InstanceAccess.Builder operatingSystem(OperatingSystem operatingSystem)
Operating system that is running on the instance.
operatingSystem
- Operating system that is running on the instance.OperatingSystem
,
OperatingSystem
InstanceAccess.Builder credentials(InstanceCredentials credentials)
Credentials required to access the instance.
credentials
- Credentials required to access the instance.default InstanceAccess.Builder credentials(Consumer<InstanceCredentials.Builder> credentials)
Credentials required to access the instance.
This is a convenience that creates an instance of theInstanceCredentials.Builder
avoiding the need
to create one manually via InstanceCredentials.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to credentials(InstanceCredentials)
.credentials
- a consumer that will call methods on InstanceCredentials.Builder
credentials(InstanceCredentials)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.