Class SessionFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SessionFilter.Builder,SessionFilter>
Describes a filter for Session Manager information.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionFilter.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SessionFilterKeykey()The name of the filter.final StringThe name of the filter.static Class<? extends SessionFilter.Builder>final StringtoString()Returns a string representation of this object.final Stringvalue()The filter value.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
key
The name of the filter.
If the service returns an enum value that is not available in the current SDK version,
keywill returnSessionFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyAsString().- Returns:
- The name of the filter.
- See Also:
-
keyAsString
The name of the filter.
If the service returns an enum value that is not available in the current SDK version,
keywill returnSessionFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyAsString().- Returns:
- The name of the filter.
- See Also:
-
value
The filter value. Valid values for each filter key are as follows:
-
InvokedAfter: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started August 29, 2024, and later.
-
InvokedBefore: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started before August 29, 2024.
-
Target: Specify a managed node to which session connections have been made.
-
Owner: Specify an Amazon Web Services user to see a list of sessions started by that user.
-
Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include:
-
Connected
-
Connecting
-
Disconnected
-
Terminated
-
Terminating
-
Failed
-
-
SessionId: Specify a session ID to return details about the session.
- Returns:
- The filter value. Valid values for each filter key are as follows:
-
InvokedAfter: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started August 29, 2024, and later.
-
InvokedBefore: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started before August 29, 2024.
-
Target: Specify a managed node to which session connections have been made.
-
Owner: Specify an Amazon Web Services user to see a list of sessions started by that user.
-
Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include:
-
Connected
-
Connecting
-
Disconnected
-
Terminated
-
Terminating
-
Failed
-
-
SessionId: Specify a session ID to return details about the session.
-
-
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SessionFilter.Builder,SessionFilter>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-