Interface ListAssetInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAssetInstancesResponse.Builder,,ListAssetInstancesResponse> OutpostsResponse.Builder,SdkBuilder<ListAssetInstancesResponse.Builder,,ListAssetInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssetInstancesResponse
@Mutable
@NotThreadSafe
public static interface ListAssetInstancesResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListAssetInstancesResponse.Builder,ListAssetInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassetInstances(Collection<AssetInstance> assetInstances) List of instances owned by all accounts on the Outpost.assetInstances(Consumer<AssetInstance.Builder>... assetInstances) List of instances owned by all accounts on the Outpost.assetInstances(AssetInstance... assetInstances) List of instances owned by all accounts on the Outpost.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 toassetInstances(List<AssetInstance>).- 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:
-
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.
-