Interface ListServiceSpecificCredentialsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListServiceSpecificCredentialsResponse.Builder,
,ListServiceSpecificCredentialsResponse> IamResponse.Builder
,SdkBuilder<ListServiceSpecificCredentialsResponse.Builder,
,ListServiceSpecificCredentialsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListServiceSpecificCredentialsResponse
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated
(Boolean isTruncated) A flag that indicates whether there are more items to return.When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.serviceSpecificCredentials
(Collection<ServiceSpecificCredentialMetadata> serviceSpecificCredentials) A list of structures that each contain details about a service-specific credential.serviceSpecificCredentials
(Consumer<ServiceSpecificCredentialMetadata.Builder>... serviceSpecificCredentials) A list of structures that each contain details about a service-specific credential.serviceSpecificCredentials
(ServiceSpecificCredentialMetadata... serviceSpecificCredentials) A list of structures that each contain details about a service-specific credential.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.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 Details
-
serviceSpecificCredentials
ListServiceSpecificCredentialsResponse.Builder serviceSpecificCredentials(Collection<ServiceSpecificCredentialMetadata> serviceSpecificCredentials) A list of structures that each contain details about a service-specific credential.
- Parameters:
serviceSpecificCredentials
- A list of structures that each contain details about a service-specific credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSpecificCredentials
ListServiceSpecificCredentialsResponse.Builder serviceSpecificCredentials(ServiceSpecificCredentialMetadata... serviceSpecificCredentials) A list of structures that each contain details about a service-specific credential.
- Parameters:
serviceSpecificCredentials
- A list of structures that each contain details about a service-specific credential.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSpecificCredentials
ListServiceSpecificCredentialsResponse.Builder serviceSpecificCredentials(Consumer<ServiceSpecificCredentialMetadata.Builder>... serviceSpecificCredentials) A list of structures that each contain details about a service-specific credential.
This is a convenience method that creates an instance of theServiceSpecificCredentialMetadata.Builder
avoiding the need to create one manually viaServiceSpecificCredentialMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceSpecificCredentials(List<ServiceSpecificCredentialMetadata>)
.- Parameters:
serviceSpecificCredentials
- a consumer that will call methods onServiceSpecificCredentialMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
- Parameters:
marker
- When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 Marker request parameter to retrieve more items.
- 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 the Marker request parameter to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-