Class ActionResource
- java.lang.Object
-
- software.amazon.smithy.aws.iam.traits.ActionResource
-
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<ActionResource>
public final class ActionResource extends java.lang.Object implements ToNode, ToSmithyBuilder<ActionResource>
Contains information about a resource an IAM action can be authorized against.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionResource.Builder
builder()
boolean
equals(java.lang.Object o)
static ActionResource
fromNode(Node value)
java.util.List<java.lang.String>
getConditionKeys()
Gets the condition keys used for authorizing against this resource.int
hashCode()
ActionResource.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.Node
toNode()
Converts a value to aNode
.
-
-
-
Method Detail
-
getConditionKeys
public java.util.List<java.lang.String> getConditionKeys()
Gets the condition keys used for authorizing against this resource.- Returns:
- the condition keys.
-
builder
public static ActionResource.Builder builder()
-
fromNode
public static ActionResource fromNode(Node value)
-
toBuilder
public ActionResource.Builder 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 interfaceToSmithyBuilder<ActionResource>
- Returns:
- a builder for type T
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-