Interface ListPrincipalsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPrincipalsResponse.Builder,ListPrincipalsResponse>,RamResponse.Builder,SdkBuilder<ListPrincipalsResponse.Builder,ListPrincipalsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPrincipalsResponse
public static interface ListPrincipalsResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<ListPrincipalsResponse.Builder,ListPrincipalsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPrincipalsResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.ListPrincipalsResponse.Builderprincipals(Collection<Principal> principals)An array of objects that contain the details about the principals.ListPrincipalsResponse.Builderprincipals(Consumer<Principal.Builder>... principals)An array of objects that contain the details about the principals.ListPrincipalsResponse.Builderprincipals(Principal... principals)An array of objects that contain the details about the principals.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamResponse.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
-
principals
ListPrincipalsResponse.Builder principals(Collection<Principal> principals)
An array of objects that contain the details about the principals.
- Parameters:
principals- An array of objects that contain the details about the principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
ListPrincipalsResponse.Builder principals(Principal... principals)
An array of objects that contain the details about the principals.
- Parameters:
principals- An array of objects that contain the details about the principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
ListPrincipalsResponse.Builder principals(Consumer<Principal.Builder>... principals)
An array of objects that contain the details about the principals.
This is a convenience method that creates an instance of thePrincipal.Builderavoiding the need to create one manually viaPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#principals(List.) - Parameters:
principals- a consumer that will call methods onPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#principals(java.util.Collection)
-
nextToken
ListPrincipalsResponse.Builder nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Parameters:
nextToken- If present, this value indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-