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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SecurityProfileTargetMapping.BuildersecurityProfileIdentifier(Consumer<SecurityProfileIdentifier.Builder> securityProfileIdentifier)Information that identifies the security profile.SecurityProfileTargetMapping.BuildersecurityProfileIdentifier(SecurityProfileIdentifier securityProfileIdentifier)Information that identifies the security profile.default SecurityProfileTargetMapping.Buildertarget(Consumer<SecurityProfileTarget.Builder> target)Information about the target (thing group) associated with the security profile.SecurityProfileTargetMapping.Buildertarget(SecurityProfileTarget target)Information about the target (thing group) associated with the security profile.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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:
securityProfileIdentifier(SecurityProfileIdentifier)
-
target
SecurityProfileTargetMapping.Builder target(SecurityProfileTarget 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
default SecurityProfileTargetMapping.Builder target(Consumer<SecurityProfileTarget.Builder> 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:
target(SecurityProfileTarget)
-
-