Interface ListWorkloadIdentityTemplatesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListWorkloadIdentityTemplatesRequest.Builder,,ListWorkloadIdentityTemplatesRequest> IamRequest.Builder,SdkBuilder<ListWorkloadIdentityTemplatesRequest.Builder,,ListWorkloadIdentityTemplatesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListWorkloadIdentityTemplatesRequest
-
Method Summary
Modifier and TypeMethodDescriptionA filter expression that narrows the page to templates whose attestation policy admits a given service principal.Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated.Use this only when paginating results to indicate the maximum number of items you want in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceScope(String resourceScope) The scope to list templates at.resourceScope(WorkloadIdentityResourceScopeType resourceScope) The scope to list templates at.workloadIdentityProviderArn(String workloadIdentityProviderArn) The Amazon Resource Name (ARN) of the workload identity provider whose templates are listed.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workloadIdentityProviderArn
ListWorkloadIdentityTemplatesRequest.Builder workloadIdentityProviderArn(String workloadIdentityProviderArn) The Amazon Resource Name (ARN) of the workload identity provider whose templates are listed.
- Parameters:
workloadIdentityProviderArn- The Amazon Resource Name (ARN) of the workload identity provider whose templates are listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceScope
The scope to list templates at.
- Parameters:
resourceScope- The scope to list templates at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceScope
ListWorkloadIdentityTemplatesRequest.Builder resourceScope(WorkloadIdentityResourceScopeType resourceScope) The scope to list templates at.
- Parameters:
resourceScope- The scope to list templates at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the
Markerelement in the response that you received to indicate where the next call should start.- Parameters:
marker- Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of theMarkerelement in the response that you received to indicate where the next call should start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the
IsTruncatedresponse element istrue. Note that IAM might return fewer results, even when there are more results available. In that case, theIsTruncatedresponse element returnstrue, andMarkercontains a value to include in the subsequent call that tells the service where to continue from.- Parameters:
maxItems- Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, theIsTruncatedresponse element istrue. Note that IAM might return fewer results, even when there are more results available. In that case, theIsTruncatedresponse element returnstrue, andMarkercontains a value to include in the subsequent call that tells the service where to continue from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A filter expression that narrows the page to templates whose attestation policy admits a given service principal.
The only supported attribute is
service_principaland the only supported filter type is=, so an expression readsservice_principal = "eks.amazonaws.com". The value is the service principal as it is written in a policy, for exampleeks.amazonaws.com. Whitespace around=is optional. If you omit the filter, the list is not filtered. A filter that is present but blank is rejected. A value that IAM does not recognize as a service principal returnsInvalidInputExceptionrather than an empty page.- Parameters:
filter- A filter expression that narrows the page to templates whose attestation policy admits a given service principal.The only supported attribute is
service_principaland the only supported filter type is=, so an expression readsservice_principal = "eks.amazonaws.com". The value is the service principal as it is written in a policy, for exampleeks.amazonaws.com. Whitespace around=is optional. If you omit the filter, the list is not filtered. A filter that is present but blank is rejected. A value that IAM does not recognize as a service principal returnsInvalidInputExceptionrather than an empty page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListWorkloadIdentityTemplatesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListWorkloadIdentityTemplatesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-