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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IamActionTrait.Builder
addCreatesResource(java.lang.String createsResource)
IamActionTrait.Builder
addRequiredAction(java.lang.String requiredAction)
IamActionTrait
build()
Creates an immutable object that is created from the properties that have been set on the builder.IamActionTrait.Builder
clearCreatesResources()
IamActionTrait.Builder
clearRequiredActions()
IamActionTrait.Builder
createsResources(java.util.List<java.lang.String> createsResources)
IamActionTrait.Builder
documentation(java.lang.String documentation)
IamActionTrait.Builder
name(java.lang.String name)
IamActionTrait.Builder
relativeDocumentation(java.lang.String relativeDocumentation)
IamActionTrait.Builder
removeCreatesResource(java.lang.String createsResource)
IamActionTrait.Builder
removeRequiredAction(java.lang.String requiredAction)
IamActionTrait.Builder
requiredActions(java.util.List<java.lang.String> requiredActions)
IamActionTrait.Builder
resources(ActionResources resources)
-
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuilder
getSourceLocation, sourceLocation
-
-
-
-
Method Detail
-
build
public IamActionTrait 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
public IamActionTrait.Builder name(java.lang.String name)
-
documentation
public IamActionTrait.Builder documentation(java.lang.String documentation)
-
relativeDocumentation
public IamActionTrait.Builder relativeDocumentation(java.lang.String relativeDocumentation)
-
requiredActions
public IamActionTrait.Builder requiredActions(java.util.List<java.lang.String> requiredActions)
-
clearRequiredActions
public IamActionTrait.Builder clearRequiredActions()
-
addRequiredAction
public IamActionTrait.Builder addRequiredAction(java.lang.String requiredAction)
-
removeRequiredAction
public IamActionTrait.Builder removeRequiredAction(java.lang.String requiredAction)
-
resources
public IamActionTrait.Builder resources(ActionResources resources)
-
createsResources
public IamActionTrait.Builder createsResources(java.util.List<java.lang.String> createsResources)
-
clearCreatesResources
public IamActionTrait.Builder clearCreatesResources()
-
addCreatesResource
public IamActionTrait.Builder addCreatesResource(java.lang.String createsResource)
-
removeCreatesResource
public IamActionTrait.Builder removeCreatesResource(java.lang.String createsResource)
-
-