Interface ContextEntry.Builder

    • Method Detail

      • contextKeyName

        ContextEntry.Builder contextKeyName​(String contextKeyName)

        The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

        Parameters:
        contextKeyName - The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextKeyValues

        ContextEntry.Builder contextKeyValues​(Collection<String> contextKeyValues)

        The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

        Parameters:
        contextKeyValues - The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextKeyValues

        ContextEntry.Builder contextKeyValues​(String... contextKeyValues)

        The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

        Parameters:
        contextKeyValues - The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contextKeyType

        ContextEntry.Builder contextKeyType​(String contextKeyType)

        The data type of the value (or values) specified in the ContextKeyValues parameter.

        Parameters:
        contextKeyType - The data type of the value (or values) specified in the ContextKeyValues parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContextKeyTypeEnum, ContextKeyTypeEnum
      • contextKeyType

        ContextEntry.Builder contextKeyType​(ContextKeyTypeEnum contextKeyType)

        The data type of the value (or values) specified in the ContextKeyValues parameter.

        Parameters:
        contextKeyType - The data type of the value (or values) specified in the ContextKeyValues parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ContextKeyTypeEnum, ContextKeyTypeEnum