Interface ListAutomatedDiscoveryAccountsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAutomatedDiscoveryAccountsResponse.Builder,ListAutomatedDiscoveryAccountsResponse>,Macie2Response.Builder,SdkBuilder<ListAutomatedDiscoveryAccountsResponse.Builder,ListAutomatedDiscoveryAccountsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAutomatedDiscoveryAccountsResponse
public static interface ListAutomatedDiscoveryAccountsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListAutomatedDiscoveryAccountsResponse.Builder,ListAutomatedDiscoveryAccountsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAutomatedDiscoveryAccountsResponse.Builderitems(Collection<AutomatedDiscoveryAccount> items)An array of objects, one for each account specified in the request.ListAutomatedDiscoveryAccountsResponse.Builderitems(Consumer<AutomatedDiscoveryAccount.Builder>... items)An array of objects, one for each account specified in the request.ListAutomatedDiscoveryAccountsResponse.Builderitems(AutomatedDiscoveryAccount... items)An array of objects, one for each account specified in the request.ListAutomatedDiscoveryAccountsResponse.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
ListAutomatedDiscoveryAccountsResponse.Builder items(Collection<AutomatedDiscoveryAccount> items)
An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.
- Parameters:
items- An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAutomatedDiscoveryAccountsResponse.Builder items(AutomatedDiscoveryAccount... items)
An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.
- Parameters:
items- An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAutomatedDiscoveryAccountsResponse.Builder items(Consumer<AutomatedDiscoveryAccount.Builder>... items)
An array of objects, one for each account specified in the request. Each object specifies the Amazon Web Services account ID for an account and the current status of automated sensitive data discovery for that account.
This is a convenience method that creates an instance of theAutomatedDiscoveryAccount.Builderavoiding the need to create one manually viaAutomatedDiscoveryAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onAutomatedDiscoveryAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListAutomatedDiscoveryAccountsResponse.Builder nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-