ToCopyableBuilder<ContextEntry.Builder,ContextEntry>
@Generated("software.amazon.awssdk:codegen") public class ContextEntry extends Object implements ToCopyableBuilder<ContextEntry.Builder,ContextEntry>
Contains information about a condition context key. It includes the name of the key and specifies the value (or
values, if the context key supports multiple values) to use in the simulation. This information is used when
evaluating the Condition
elements of the input policies.
This data type is used as an input parameter to SimulateCustomPolicy
and
SimulateCustomPolicy
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ContextEntry.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ContextEntry.Builder |
builder() |
|
String |
contextKeyName() |
The full name of a condition context key, including the service prefix.
|
String |
contextKeyType() |
The data type of the value (or values) specified in the
ContextKeyValues parameter. |
List<String> |
contextKeyValues() |
The value (or values, if the condition context key supports multiple values) to provide to the simulation for use
when the key is referenced by a
Condition element in an input policy. |
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends ContextEntry.Builder> |
serializableBuilderClass() |
|
ContextEntry.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String contextKeyName()
The full name of a condition context key, including the service prefix. For example, aws:SourceIp
or
s3:VersionId
.
aws:SourceIp
or s3:VersionId
.public List<String> contextKeyValues()
The value (or values, if the condition context key supports multiple values) to provide to the simulation for use
when the key is referenced by a Condition
element in an input policy.
Condition
element in an input policy.public String contextKeyType()
The data type of the value (or values) specified in the ContextKeyValues
parameter.
ContextKeyValues
parameter.ContextKeyTypeEnum
public ContextEntry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ContextEntry.Builder,ContextEntry>
public static ContextEntry.Builder builder()
public static Class<? extends ContextEntry.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.