Class ActionResources.Builder
- java.lang.Object
-
- software.amazon.smithy.aws.iam.traits.ActionResources.Builder
-
- All Implemented Interfaces:
SmithyBuilder<ActionResources>
- Enclosing class:
- ActionResources
public static final class ActionResources.Builder extends java.lang.Object implements SmithyBuilder<ActionResources>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionResources
build()
Creates an immutable object that is created from the properties that have been set on the builder.ActionResources.Builder
clearOptional()
ActionResources.Builder
clearRequired()
ActionResources.Builder
optional(java.util.Map<java.lang.String,ActionResource> optional)
ActionResources.Builder
putOptional(java.lang.String resourceName, ActionResource actionResource)
ActionResources.Builder
putRequired(java.lang.String resourceName, ActionResource actionResource)
ActionResources.Builder
removeOptional(java.lang.String resourceName)
ActionResources.Builder
removeRequired(java.lang.String resourceName)
ActionResources.Builder
required(java.util.Map<java.lang.String,ActionResource> required)
-
-
-
Method Detail
-
build
public ActionResources build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<ActionResources>
- Returns:
- an instance of T
-
clearRequired
public ActionResources.Builder clearRequired()
-
required
public ActionResources.Builder required(java.util.Map<java.lang.String,ActionResource> required)
-
putRequired
public ActionResources.Builder putRequired(java.lang.String resourceName, ActionResource actionResource)
-
removeRequired
public ActionResources.Builder removeRequired(java.lang.String resourceName)
-
clearOptional
public ActionResources.Builder clearOptional()
-
optional
public ActionResources.Builder optional(java.util.Map<java.lang.String,ActionResource> optional)
-
putOptional
public ActionResources.Builder putOptional(java.lang.String resourceName, ActionResource actionResource)
-
removeOptional
public ActionResources.Builder removeOptional(java.lang.String resourceName)
-
-