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
-
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 Detail
-
applicationInstanceId
ApplicationInstance.Builder applicationInstanceId(String 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
ApplicationInstance.Builder arn(String 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
ApplicationInstance.Builder createdTime(Instant 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
ApplicationInstance.Builder defaultRuntimeContextDevice(String 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
ApplicationInstance.Builder defaultRuntimeContextDeviceName(String 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
ApplicationInstance.Builder description(String 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
ApplicationInstance.Builder healthStatus(String 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:
ApplicationInstanceHealthStatus,ApplicationInstanceHealthStatus
-
healthStatus
ApplicationInstance.Builder healthStatus(ApplicationInstanceHealthStatus 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:
ApplicationInstanceHealthStatus,ApplicationInstanceHealthStatus
-
name
ApplicationInstance.Builder name(String 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.Builderavoiding the need to create one manually viaReportedRuntimeContextState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#runtimeContextStates(List.) - 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:
#runtimeContextStates(java.util.Collection)
-
status
ApplicationInstance.Builder status(String 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:
ApplicationInstanceStatus,ApplicationInstanceStatus
-
status
ApplicationInstance.Builder status(ApplicationInstanceStatus 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:
ApplicationInstanceStatus,ApplicationInstanceStatus
-
statusDescription
ApplicationInstance.Builder statusDescription(String 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
ApplicationInstance.Builder tags(Map<String,String> 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.
-
-