Interface DescribeImagePermissionsResponse.Builder
-
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeImagePermissionsResponse.Builder,DescribeImagePermissionsResponse>,SdkBuilder<DescribeImagePermissionsResponse.Builder,DescribeImagePermissionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeImagePermissionsResponse
public static interface DescribeImagePermissionsResponse.Builder extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeImagePermissionsResponse.Builder,DescribeImagePermissionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeImagePermissionsResponse.Buildername(String name)The name of the private image.DescribeImagePermissionsResponse.BuildernextToken(String nextToken)The pagination token to use to retrieve the next page of results for this operation.DescribeImagePermissionsResponse.BuildersharedImagePermissionsList(Collection<SharedImagePermissions> sharedImagePermissionsList)The permissions for a private image that you own.DescribeImagePermissionsResponse.BuildersharedImagePermissionsList(Consumer<SharedImagePermissions.Builder>... sharedImagePermissionsList)The permissions for a private image that you own.DescribeImagePermissionsResponse.BuildersharedImagePermissionsList(SharedImagePermissions... sharedImagePermissionsList)The permissions for a private image that you own.-
Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
DescribeImagePermissionsResponse.Builder name(String name)
The name of the private image.
- Parameters:
name- The name of the private image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharedImagePermissionsList
DescribeImagePermissionsResponse.Builder sharedImagePermissionsList(Collection<SharedImagePermissions> sharedImagePermissionsList)
The permissions for a private image that you own.
- Parameters:
sharedImagePermissionsList- The permissions for a private image that you own.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharedImagePermissionsList
DescribeImagePermissionsResponse.Builder sharedImagePermissionsList(SharedImagePermissions... sharedImagePermissionsList)
The permissions for a private image that you own.
- Parameters:
sharedImagePermissionsList- The permissions for a private image that you own.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharedImagePermissionsList
DescribeImagePermissionsResponse.Builder sharedImagePermissionsList(Consumer<SharedImagePermissions.Builder>... sharedImagePermissionsList)
The permissions for a private image that you own.
This is a convenience method that creates an instance of theSharedImagePermissions.Builderavoiding the need to create one manually viaSharedImagePermissions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sharedImagePermissionsList(List.) - Parameters:
sharedImagePermissionsList- a consumer that will call methods onSharedImagePermissions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sharedImagePermissionsList(java.util.Collection)
-
nextToken
DescribeImagePermissionsResponse.Builder nextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-