Interface ApplicationInstance.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ApplicationInstance.Builder,
,ApplicationInstance> SdkBuilder<ApplicationInstance.Builder,
,ApplicationInstance> SdkPojo
- Enclosing class:
ApplicationInstance
public static interface ApplicationInstance.Builder
extends SdkPojo, CopyableBuilder<ApplicationInstance.Builder,ApplicationInstance>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationInstanceId
(String applicationInstanceId) The application instance's ID.The application instance's ARN.createdTime
(Instant createdTime) When the application instance was created.defaultRuntimeContextDevice
(String defaultRuntimeContextDevice) The device's ID.defaultRuntimeContextDeviceName
(String defaultRuntimeContextDeviceName) The device's name.description
(String description) The application instance's description.healthStatus
(String healthStatus) The application instance's health status.healthStatus
(ApplicationInstanceHealthStatus healthStatus) The application instance's health status.The application instance's name.runtimeContextStates
(Collection<ReportedRuntimeContextState> runtimeContextStates) The application's state.runtimeContextStates
(Consumer<ReportedRuntimeContextState.Builder>... runtimeContextStates) The application's state.runtimeContextStates
(ReportedRuntimeContextState... runtimeContextStates) The application's state.The application instance's status.status
(ApplicationInstanceStatus status) The application instance's status.statusDescription
(String statusDescription) The application instance's status description.The application instance's tags.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
-
applicationInstanceId
The application instance's ID.
- Parameters:
applicationInstanceId
- The application instance's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The application instance's ARN.
- Parameters:
arn
- The application instance's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
When the application instance was created.
- Parameters:
createdTime
- When the application instance was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRuntimeContextDevice
The device's ID.
- Parameters:
defaultRuntimeContextDevice
- The device's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRuntimeContextDeviceName
The device's name.
- Parameters:
defaultRuntimeContextDeviceName
- The device's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The application instance's description.
- Parameters:
description
- The application instance's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthStatus
The application instance's health status.
- Parameters:
healthStatus
- The application instance's health status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
healthStatus
The application instance's health status.
- Parameters:
healthStatus
- The application instance's health status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The application instance's name.
- Parameters:
name
- The application instance's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeContextStates
ApplicationInstance.Builder runtimeContextStates(Collection<ReportedRuntimeContextState> runtimeContextStates) The application's state.
- Parameters:
runtimeContextStates
- The application's state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeContextStates
ApplicationInstance.Builder runtimeContextStates(ReportedRuntimeContextState... runtimeContextStates) The application's state.
- Parameters:
runtimeContextStates
- The application's state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeContextStates
ApplicationInstance.Builder runtimeContextStates(Consumer<ReportedRuntimeContextState.Builder>... runtimeContextStates) The application's state.
This is a convenience method that creates an instance of theReportedRuntimeContextState.Builder
avoiding the need to create one manually viaReportedRuntimeContextState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeContextStates(List<ReportedRuntimeContextState>)
.- Parameters:
runtimeContextStates
- a consumer that will call methods onReportedRuntimeContextState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The application instance's status.
- Parameters:
status
- The application instance's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The application instance's status.
- Parameters:
status
- The application instance's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusDescription
The application instance's status description.
- Parameters:
statusDescription
- The application instance's status description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The application instance's tags.
- Parameters:
tags
- The application instance's tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-