Class ActionResources

java.lang.Object
software.amazon.smithy.aws.iam.traits.ActionResources
All Implemented Interfaces:
ToNode, ToSmithyBuilder<ActionResources>

public final class ActionResources extends Object implements ToNode, ToSmithyBuilder<ActionResources>
Contains information about the resources an IAM action can be authorized against.
  • Method Details

    • getRequired

      public Map<String,ActionResource> getRequired()
      Gets the resources that will always be authorized against for functionality of the IAM action.
      Returns:
      the required resources.
    • getOptional

      public Map<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)
    • toNode

      public Node toNode()
      Description copied from interface: ToNode
      Converts a value to a Node.
      Specified by:
      toNode in interface ToNode
      Returns:
      Returns the creates Node.
    • toBuilder

      public SmithyBuilder<ActionResources> toBuilder()
      Description copied from interface: ToSmithyBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToSmithyBuilder<ActionResources>
      Returns:
      a builder for type T
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object