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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ActionResourcesGets the resources that will be authorized against based on optional behavior of the IAM action.Gets the resources that will always be authorized against for functionality of the IAM action.inthashCode()Take this object and create a builder that contains all of the current property values of this object.toNode()Converts a value to aNode.
-
Method Details
-
getRequired
Gets the resources that will always be authorized against for functionality of the IAM action.- Returns:
- the required resources.
-
getOptional
Gets the resources that will be authorized against based on optional behavior of the IAM action.- Returns:
- the optional resources.
-
fromNode
-
toNode
Description copied from interface:ToNodeConverts a value to aNode. -
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
-
hashCode
public int hashCode()
-