Interface DescribeInstancePropertiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstancePropertiesResponse.Builder,
,DescribeInstancePropertiesResponse> SdkBuilder<DescribeInstancePropertiesResponse.Builder,
,DescribeInstancePropertiesResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
DescribeInstancePropertiesResponse
public static interface DescribeInstancePropertiesResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstancePropertiesResponse.Builder,DescribeInstancePropertiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceProperties
(Collection<InstanceProperty> instanceProperties) Properties for the managed instances.instanceProperties
(Consumer<InstanceProperty.Builder>... instanceProperties) Properties for the managed instances.instanceProperties
(InstanceProperty... instanceProperties) Properties for the managed instances.The token for the next set of properties to return.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
instanceProperties
DescribeInstancePropertiesResponse.Builder instanceProperties(Collection<InstanceProperty> instanceProperties) Properties for the managed instances.
- Parameters:
instanceProperties
- Properties for the managed instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProperties
DescribeInstancePropertiesResponse.Builder instanceProperties(InstanceProperty... instanceProperties) Properties for the managed instances.
- Parameters:
instanceProperties
- Properties for the managed instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProperties
DescribeInstancePropertiesResponse.Builder instanceProperties(Consumer<InstanceProperty.Builder>... instanceProperties) Properties for the managed instances.
This is a convenience method that creates an instance of theInstanceProperty.Builder
avoiding the need to create one manually viaInstanceProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceProperties(List<InstanceProperty>)
.- Parameters:
instanceProperties
- a consumer that will call methods onInstanceProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of properties to return. Use this token to get the next set of results.
- Parameters:
nextToken
- The token for the next set of properties to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-