Interface AttachPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AttachPolicyRequest.Builder,AttachPolicyRequest>
,IotRequest.Builder
,SdkBuilder<AttachPolicyRequest.Builder,AttachPolicyRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- AttachPolicyRequest
public static interface AttachPolicyRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<AttachPolicyRequest.Builder,AttachPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachPolicyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AttachPolicyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AttachPolicyRequest.Builder
policyName(String policyName)
The name of the policy to attach.AttachPolicyRequest.Builder
target(String target)
The identity to which the policy is attached.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
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
-
policyName
AttachPolicyRequest.Builder policyName(String policyName)
The name of the policy to attach.
- Parameters:
policyName
- The name of the policy to attach.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
AttachPolicyRequest.Builder target(String target)
The identity to which the policy is attached. For example, a thing group or a certificate.
- Parameters:
target
- The identity to which the policy is attached. For example, a thing group or a certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AttachPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-