Interface ListWorkloadIdentityTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkloadIdentityTemplatesResponse.Builder,,ListWorkloadIdentityTemplatesResponse> IamResponse.Builder,SdkBuilder<ListWorkloadIdentityTemplatesResponse.Builder,,ListWorkloadIdentityTemplatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkloadIdentityTemplatesResponse
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated(Boolean isTruncated) A flag that indicates whether there are more items to return.WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.workloadIdentityTemplates(Collection<WorkloadIdentityTemplateSummary> workloadIdentityTemplates) A list of templates.workloadIdentityTemplates(Consumer<WorkloadIdentityTemplateSummary.Builder>... workloadIdentityTemplates) A list of templates.workloadIdentityTemplates(WorkloadIdentityTemplateSummary... workloadIdentityTemplates) A list of templates.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.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
-
workloadIdentityTemplates
ListWorkloadIdentityTemplatesResponse.Builder workloadIdentityTemplates(Collection<WorkloadIdentityTemplateSummary> workloadIdentityTemplates) A list of templates. The list is empty when nothing matches.
- Parameters:
workloadIdentityTemplates- A list of templates. The list is empty when nothing matches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadIdentityTemplates
ListWorkloadIdentityTemplatesResponse.Builder workloadIdentityTemplates(WorkloadIdentityTemplateSummary... workloadIdentityTemplates) A list of templates. The list is empty when nothing matches.
- Parameters:
workloadIdentityTemplates- A list of templates. The list is empty when nothing matches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadIdentityTemplates
ListWorkloadIdentityTemplatesResponse.Builder workloadIdentityTemplates(Consumer<WorkloadIdentityTemplateSummary.Builder>... workloadIdentityTemplates) A list of templates. The list is empty when nothing matches.
This is a convenience method that creates an instance of theWorkloadIdentityTemplateSummary.Builderavoiding the need to create one manually viaWorkloadIdentityTemplateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkloadIdentityTemplates(List<WorkloadIdentityTemplateSummary>).- Parameters:
workloadIdentityTemplates- a consumer that will call methods onWorkloadIdentityTemplateSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isTruncated
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the
Markerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Parameters:
isTruncated- A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using theMarkerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
When
IsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
marker- WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-