Interface InstanceState.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceState.Builder,InstanceState>,SdkBuilder<InstanceState.Builder,InstanceState>,SdkPojo
- Enclosing class:
- InstanceState
public static interface InstanceState.Builder extends SdkPojo, CopyableBuilder<InstanceState.Builder,InstanceState>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceState.Buildercode(Integer code)The status code for the instance.InstanceState.Buildername(String name)The state of the instance (runningorpending).-
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
-
code
InstanceState.Builder code(Integer code)
The status code for the instance.
- Parameters:
code- The status code for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
InstanceState.Builder name(String name)
The state of the instance (
runningorpending).- Parameters:
name- The state of the instance (runningorpending).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-