Interface ListTargetsForSecurityProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTargetsForSecurityProfileResponse.Builder,ListTargetsForSecurityProfileResponse>,IotResponse.Builder,SdkBuilder<ListTargetsForSecurityProfileResponse.Builder,ListTargetsForSecurityProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTargetsForSecurityProfileResponse
public static interface ListTargetsForSecurityProfileResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListTargetsForSecurityProfileResponse.Builder,ListTargetsForSecurityProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTargetsForSecurityProfileResponse.BuildernextToken(String nextToken)A token that can be used to retrieve the next set of results, ornullif there are no additional results.ListTargetsForSecurityProfileResponse.BuildersecurityProfileTargets(Collection<SecurityProfileTarget> securityProfileTargets)The thing groups to which the security profile is attached.ListTargetsForSecurityProfileResponse.BuildersecurityProfileTargets(Consumer<SecurityProfileTarget.Builder>... securityProfileTargets)The thing groups to which the security profile is attached.ListTargetsForSecurityProfileResponse.BuildersecurityProfileTargets(SecurityProfileTarget... securityProfileTargets)The thing groups to which the security profile is attached.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
-
securityProfileTargets
ListTargetsForSecurityProfileResponse.Builder securityProfileTargets(Collection<SecurityProfileTarget> securityProfileTargets)
The thing groups to which the security profile is attached.
- Parameters:
securityProfileTargets- The thing groups to which the security profile is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfileTargets
ListTargetsForSecurityProfileResponse.Builder securityProfileTargets(SecurityProfileTarget... securityProfileTargets)
The thing groups to which the security profile is attached.
- Parameters:
securityProfileTargets- The thing groups to which the security profile is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfileTargets
ListTargetsForSecurityProfileResponse.Builder securityProfileTargets(Consumer<SecurityProfileTarget.Builder>... securityProfileTargets)
The thing groups to which the security profile is attached.
This is a convenience method that creates an instance of theSecurityProfileTarget.Builderavoiding the need to create one manually viaSecurityProfileTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#securityProfileTargets(List.) - Parameters:
securityProfileTargets- a consumer that will call methods onSecurityProfileTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#securityProfileTargets(java.util.Collection)
-
nextToken
ListTargetsForSecurityProfileResponse.Builder nextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
nullif there are no additional results.- Parameters:
nextToken- A token that can be used to retrieve the next set of results, ornullif there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-