Interface DescribeTemplatePermissionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTemplatePermissionsResponse.Builder,DescribeTemplatePermissionsResponse>,QuickSightResponse.Builder,SdkBuilder<DescribeTemplatePermissionsResponse.Builder,DescribeTemplatePermissionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTemplatePermissionsResponse
@Mutable @NotThreadSafe public static interface DescribeTemplatePermissionsResponse.Builder extends QuickSightResponse.Builder, SdkPojo, CopyableBuilder<DescribeTemplatePermissionsResponse.Builder,DescribeTemplatePermissionsResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightResponse.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
-
templateId
DescribeTemplatePermissionsResponse.Builder templateId(String templateId)
The ID for the template.
- Parameters:
templateId- The ID for the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateArn
DescribeTemplatePermissionsResponse.Builder templateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
- Parameters:
templateArn- The Amazon Resource Name (ARN) of the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
DescribeTemplatePermissionsResponse.Builder permissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
- Parameters:
permissions- A list of resource permissions to be set on the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
DescribeTemplatePermissionsResponse.Builder permissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
- Parameters:
permissions- A list of resource permissions to be set on the template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
DescribeTemplatePermissionsResponse.Builder permissions(Consumer<ResourcePermission.Builder>... permissions)
A list of resource permissions to be set on the template.
This is a convenience method that creates an instance of theResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#permissions(List.) - Parameters:
permissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#permissions(java.util.Collection)
-
requestId
DescribeTemplatePermissionsResponse.Builder requestId(String requestId)
The Amazon Web Services request ID for this operation.
- Parameters:
requestId- The Amazon Web Services request ID for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DescribeTemplatePermissionsResponse.Builder status(Integer status)
The HTTP status of the request.
- Parameters:
status- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-