Class ConditionKeyDefinition
- java.lang.Object
-
- software.amazon.smithy.aws.iam.traits.ConditionKeyDefinition
-
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<ConditionKeyDefinition>
public final class ConditionKeyDefinition extends java.lang.Object implements ToNode, ToSmithyBuilder<ConditionKeyDefinition>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConditionKeyDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConditionKeyDefinition.Builder
builder()
boolean
equals(java.lang.Object o)
static ConditionKeyDefinition
fromNode(Node value)
java.util.Optional<java.lang.String>
getDocumentation()
java.util.Optional<java.lang.String>
getExternalDocumentation()
java.util.Optional<java.lang.String>
getRelativeDocumentation()
Get the relative URL path that defines more information about the condition key within a set of IAM-related documentation.java.lang.String
getType()
int
hashCode()
SmithyBuilder<ConditionKeyDefinition>
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
-
builder
public static ConditionKeyDefinition.Builder builder()
-
fromNode
public static ConditionKeyDefinition fromNode(Node value)
-
getType
public java.lang.String getType()
- Returns:
- The IAM policy type of the value that will supplied for this condition key.
-
getDocumentation
public java.util.Optional<java.lang.String> getDocumentation()
- Returns:
- A short description of the role of the condition key.
-
getExternalDocumentation
public java.util.Optional<java.lang.String> getExternalDocumentation()
- Returns:
- A URL to the documentation page.
-
getRelativeDocumentation
public java.util.Optional<java.lang.String> getRelativeDocumentation()
Get the relative URL path that defines more information about the condition key within a set of IAM-related documentation.- Returns:
- A relative URL to the documentation page.
-
toBuilder
public SmithyBuilder<ConditionKeyDefinition> 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<ConditionKeyDefinition>
- 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
-
-