Class IamActionTrait.Builder
java.lang.Object
software.amazon.smithy.model.traits.AbstractTraitBuilder<IamActionTrait,IamActionTrait.Builder>
software.amazon.smithy.aws.iam.traits.IamActionTrait.Builder
- All Implemented Interfaces:
SmithyBuilder<IamActionTrait>
- Enclosing class:
- IamActionTrait
public static final class IamActionTrait.Builder
extends AbstractTraitBuilder<IamActionTrait,IamActionTrait.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionaddCreatesResource
(String createsResource) addRequiredAction
(String requiredAction) build()
Creates an immutable object that is created from the properties that have been set on the builder.createsResources
(List<String> createsResources) documentation
(String documentation) relativeDocumentation
(String relativeDocumentation) removeCreatesResource
(String createsResource) removeRequiredAction
(String requiredAction) requiredActions
(List<String> requiredActions) resources
(ActionResources resources) Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
Method Details
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
-
name
-
documentation
-
relativeDocumentation
-
requiredActions
-
clearRequiredActions
-
addRequiredAction
-
removeRequiredAction
-
resources
-
createsResources
-
clearCreatesResources
-
addCreatesResource
-
removeCreatesResource
-