Class LiveTailSessionStart.BuilderImpl

java.lang.Object
software.amazon.awssdk.services.cloudwatchlogs.model.LiveTailSessionStart.BuilderImpl
All Implemented Interfaces:
SdkPojo, LiveTailSessionStart.Builder, Buildable, CopyableBuilder<LiveTailSessionStart.Builder,LiveTailSessionStart>, SdkBuilder<LiveTailSessionStart.Builder,LiveTailSessionStart>
Enclosing class:
LiveTailSessionStart

protected static class LiveTailSessionStart.BuilderImpl extends Object implements LiveTailSessionStart.Builder
  • Constructor Details

    • BuilderImpl

      protected BuilderImpl()
    • BuilderImpl

      protected BuilderImpl(LiveTailSessionStart model)
  • Method Details

    • getRequestId

      public final String getRequestId()
    • setRequestId

      public final void setRequestId(String requestId)
    • requestId

      public final LiveTailSessionStart.Builder requestId(String requestId)
      Description copied from interface: LiveTailSessionStart.Builder

      The unique ID generated by CloudWatch Logs to identify this Live Tail session request.

      Specified by:
      requestId in interface LiveTailSessionStart.Builder
      Parameters:
      requestId - The unique ID generated by CloudWatch Logs to identify this Live Tail session request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getSessionId

      public final String getSessionId()
    • setSessionId

      public final void setSessionId(String sessionId)
    • sessionId

      public final LiveTailSessionStart.Builder sessionId(String sessionId)
      Description copied from interface: LiveTailSessionStart.Builder

      The unique ID generated by CloudWatch Logs to identify this Live Tail session.

      Specified by:
      sessionId in interface LiveTailSessionStart.Builder
      Parameters:
      sessionId - The unique ID generated by CloudWatch Logs to identify this Live Tail session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getLogGroupIdentifiers

      public final Collection<String> getLogGroupIdentifiers()
    • setLogGroupIdentifiers

      public final void setLogGroupIdentifiers(Collection<String> logGroupIdentifiers)
    • logGroupIdentifiers

      public final LiveTailSessionStart.Builder logGroupIdentifiers(Collection<String> logGroupIdentifiers)
      Description copied from interface: LiveTailSessionStart.Builder

      An array of the names and ARNs of the log groups included in this Live Tail session.

      Specified by:
      logGroupIdentifiers in interface LiveTailSessionStart.Builder
      Parameters:
      logGroupIdentifiers - An array of the names and ARNs of the log groups included in this Live Tail session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupIdentifiers

      @SafeVarargs public final LiveTailSessionStart.Builder logGroupIdentifiers(String... logGroupIdentifiers)
      Description copied from interface: LiveTailSessionStart.Builder

      An array of the names and ARNs of the log groups included in this Live Tail session.

      Specified by:
      logGroupIdentifiers in interface LiveTailSessionStart.Builder
      Parameters:
      logGroupIdentifiers - An array of the names and ARNs of the log groups included in this Live Tail session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getLogStreamNames

      public final Collection<String> getLogStreamNames()
    • setLogStreamNames

      public final void setLogStreamNames(Collection<String> logStreamNames)
    • logStreamNames

      public final LiveTailSessionStart.Builder logStreamNames(Collection<String> logStreamNames)
      Description copied from interface: LiveTailSessionStart.Builder

      If your StartLiveTail operation request included a logStreamNames parameter that filtered the session to only include certain log streams, these streams are listed here.

      Specified by:
      logStreamNames in interface LiveTailSessionStart.Builder
      Parameters:
      logStreamNames - If your StartLiveTail operation request included a logStreamNames parameter that filtered the session to only include certain log streams, these streams are listed here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logStreamNames

      @SafeVarargs public final LiveTailSessionStart.Builder logStreamNames(String... logStreamNames)
      Description copied from interface: LiveTailSessionStart.Builder

      If your StartLiveTail operation request included a logStreamNames parameter that filtered the session to only include certain log streams, these streams are listed here.

      Specified by:
      logStreamNames in interface LiveTailSessionStart.Builder
      Parameters:
      logStreamNames - If your StartLiveTail operation request included a logStreamNames parameter that filtered the session to only include certain log streams, these streams are listed here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getLogStreamNamePrefixes

      public final Collection<String> getLogStreamNamePrefixes()
    • setLogStreamNamePrefixes

      public final void setLogStreamNamePrefixes(Collection<String> logStreamNamePrefixes)
    • logStreamNamePrefixes

      public final LiveTailSessionStart.Builder logStreamNamePrefixes(Collection<String> logStreamNamePrefixes)
      Description copied from interface: LiveTailSessionStart.Builder

      If your StartLiveTail operation request included a logStreamNamePrefixes parameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.

      Specified by:
      logStreamNamePrefixes in interface LiveTailSessionStart.Builder
      Parameters:
      logStreamNamePrefixes - If your StartLiveTail operation request included a logStreamNamePrefixes parameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logStreamNamePrefixes

      @SafeVarargs public final LiveTailSessionStart.Builder logStreamNamePrefixes(String... logStreamNamePrefixes)
      Description copied from interface: LiveTailSessionStart.Builder

      If your StartLiveTail operation request included a logStreamNamePrefixes parameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.

      Specified by:
      logStreamNamePrefixes in interface LiveTailSessionStart.Builder
      Parameters:
      logStreamNamePrefixes - If your StartLiveTail operation request included a logStreamNamePrefixes parameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getLogEventFilterPattern

      public final String getLogEventFilterPattern()
    • setLogEventFilterPattern

      public final void setLogEventFilterPattern(String logEventFilterPattern)
    • logEventFilterPattern

      public final LiveTailSessionStart.Builder logEventFilterPattern(String logEventFilterPattern)
      Description copied from interface: LiveTailSessionStart.Builder

      An optional pattern to filter the results to include only log events that match the pattern. For example, a filter pattern of error 404 displays only log events that include both error and 404.

      For more information about filter pattern syntax, see Filter and Pattern Syntax.

      Specified by:
      logEventFilterPattern in interface LiveTailSessionStart.Builder
      Parameters:
      logEventFilterPattern - An optional pattern to filter the results to include only log events that match the pattern. For example, a filter pattern of error 404 displays only log events that include both error and 404.

      For more information about filter pattern syntax, see Filter and Pattern Syntax.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • build

      public LiveTailSessionStart build()
      Specified by:
      build in interface Buildable
      Specified by:
      build in interface SdkBuilder<LiveTailSessionStart.Builder,LiveTailSessionStart>
    • sdkFields

      public List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo