Interface ListResourcesInProtectionGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResourcesInProtectionGroupResponse.Builder,,ListResourcesInProtectionGroupResponse> SdkBuilder<ListResourcesInProtectionGroupResponse.Builder,,ListResourcesInProtectionGroupResponse> SdkPojo,SdkResponse.Builder,ShieldResponse.Builder
- Enclosing class:
ListResourcesInProtectionGroupResponse
-
Method Summary
Modifier and TypeMethodDescriptionWhen you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes aNextTokenvalue in the response.resourceArns(String... resourceArns) The Amazon Resource Names (ARNs) of the resources that are included in the protection group.resourceArns(Collection<String> resourceArns) The Amazon Resource Names (ARNs) of the resources that are included in the protection group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.shield.model.ShieldResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
resourceArns
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
- Parameters:
resourceArns- The Amazon Resource Names (ARNs) of the resources that are included in the protection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
The Amazon Resource Names (ARNs) of the resources that are included in the protection group.
- Parameters:
resourceArns- The Amazon Resource Names (ARNs) of the resources that are included in the protection group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a
NextTokenvalue in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResultssetting. Shield Advanced will not return more thanMaxResultsobjects, but may return fewer, even if more objects are still available.Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextTokenvalue.- Parameters:
nextToken- When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes aNextTokenvalue in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
MaxResultssetting. Shield Advanced will not return more thanMaxResultsobjects, but may return fewer, even if more objects are still available.Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-