Interface ListAssetInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAssetInstancesResponse.Builder,ListAssetInstancesResponse>,OutpostsResponse.Builder,SdkBuilder<ListAssetInstancesResponse.Builder,ListAssetInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssetInstancesResponse
public static interface ListAssetInstancesResponse.Builder extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListAssetInstancesResponse.Builder,ListAssetInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssetInstancesResponse.BuilderassetInstances(Collection<AssetInstance> assetInstances)List of instances owned by all accounts on the Outpost.ListAssetInstancesResponse.BuilderassetInstances(Consumer<AssetInstance.Builder>... assetInstances)List of instances owned by all accounts on the Outpost.ListAssetInstancesResponse.BuilderassetInstances(AssetInstance... assetInstances)List of instances owned by all accounts on the Outpost.ListAssetInstancesResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
assetInstances
ListAssetInstancesResponse.Builder assetInstances(Collection<AssetInstance> assetInstances)
List of instances owned by all accounts on the Outpost. Does not include Amazon EBS or Amazon S3 instances.
- Parameters:
assetInstances- List of instances owned by all accounts on the Outpost. Does not include Amazon EBS or Amazon S3 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetInstances
ListAssetInstancesResponse.Builder assetInstances(AssetInstance... assetInstances)
List of instances owned by all accounts on the Outpost. Does not include Amazon EBS or Amazon S3 instances.
- Parameters:
assetInstances- List of instances owned by all accounts on the Outpost. Does not include Amazon EBS or Amazon S3 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetInstances
ListAssetInstancesResponse.Builder assetInstances(Consumer<AssetInstance.Builder>... assetInstances)
List of instances owned by all accounts on the Outpost. Does not include Amazon EBS or Amazon S3 instances.
This is a convenience method that creates an instance of theAssetInstance.Builderavoiding the need to create one manually viaAssetInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assetInstances(List.) - Parameters:
assetInstances- a consumer that will call methods onAssetInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#assetInstances(java.util.Collection)
-
nextToken
ListAssetInstancesResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-