Class ActionResources
- java.lang.Object
- 
- software.amazon.smithy.aws.iam.traits.ActionResources
 
- 
- All Implemented Interfaces:
- ToNode,- ToSmithyBuilder<ActionResources>
 
 public final class ActionResources extends java.lang.Object implements ToNode, ToSmithyBuilder<ActionResources> Contains information about the resources an IAM action can be authorized against.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classActionResources.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static ActionResourcesfromNode(Node value)java.util.Map<java.lang.String,ActionResource>getOptional()Gets the resources that will be authorized against based on optional behavior of the IAM action.java.util.Map<java.lang.String,ActionResource>getRequired()Gets the resources that will always be authorized against for functionality of the IAM action.inthashCode()SmithyBuilder<ActionResources>toBuilder()Take this object and create a builder that contains all of the current property values of this object.NodetoNode()Converts a value to aNode.
 
- 
- 
- 
Method Detail- 
getRequiredpublic java.util.Map<java.lang.String,ActionResource> getRequired() Gets the resources that will always be authorized against for functionality of the IAM action.- Returns:
- the required resources.
 
 - 
getOptionalpublic java.util.Map<java.lang.String,ActionResource> getOptional() Gets the resources that will be authorized against based on optional behavior of the IAM action.- Returns:
- the optional resources.
 
 - 
fromNodepublic static ActionResources fromNode(Node value) 
 - 
toBuilderpublic SmithyBuilder<ActionResources> toBuilder() Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToSmithyBuilder<ActionResources>
- Returns:
- a builder for type T
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-