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 Summary
Nested Classes Modifier and Type Class Description static classActionResources.Builder
-
Method Summary
All 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()ActionResources.BuildertoBuilder()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
-
getRequired
public 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.
-
getOptional
public 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.
-
fromNode
public static ActionResources fromNode(Node value)
-
toBuilder
public ActionResources.Builder 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 interfaceToSmithyBuilder<ActionResources>- Returns:
- a builder for type T
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-