Interface SecurityProfileTargetMapping.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SecurityProfileTargetMapping.Builder,,SecurityProfileTargetMapping> SdkBuilder<SecurityProfileTargetMapping.Builder,,SecurityProfileTargetMapping> SdkPojo
- Enclosing class:
SecurityProfileTargetMapping
public static interface SecurityProfileTargetMapping.Builder
extends SdkPojo, CopyableBuilder<SecurityProfileTargetMapping.Builder,SecurityProfileTargetMapping>
-
Method Summary
Modifier and TypeMethodDescriptionsecurityProfileIdentifier(Consumer<SecurityProfileIdentifier.Builder> securityProfileIdentifier) Information that identifies the security profile.securityProfileIdentifier(SecurityProfileIdentifier securityProfileIdentifier) Information that identifies the security profile.target(Consumer<SecurityProfileTarget.Builder> target) Information about the target (thing group) associated with the security profile.target(SecurityProfileTarget target) Information about the target (thing group) associated with the security profile.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, sdkFields
-
Method Details
-
securityProfileIdentifier
SecurityProfileTargetMapping.Builder securityProfileIdentifier(SecurityProfileIdentifier securityProfileIdentifier) Information that identifies the security profile.
- Parameters:
securityProfileIdentifier- Information that identifies the security profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityProfileIdentifier
default SecurityProfileTargetMapping.Builder securityProfileIdentifier(Consumer<SecurityProfileIdentifier.Builder> securityProfileIdentifier) Information that identifies the security profile.
This is a convenience method that creates an instance of theSecurityProfileIdentifier.Builderavoiding the need to create one manually viaSecurityProfileIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityProfileIdentifier(SecurityProfileIdentifier).- Parameters:
securityProfileIdentifier- a consumer that will call methods onSecurityProfileIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
Information about the target (thing group) associated with the security profile.
- Parameters:
target- Information about the target (thing group) associated with the security profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Information about the target (thing group) associated with the security profile.
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 totarget(SecurityProfileTarget).- Parameters:
target- 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:
-