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 Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(LiveTailSessionStart model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveTailSessionStartbuild()StringgetLogEventFilterPattern()Collection<String>getLogGroupIdentifiers()Collection<String>getLogStreamNamePrefixes()Collection<String>getLogStreamNames()StringgetRequestId()StringgetSessionId()LiveTailSessionStart.BuilderlogEventFilterPattern(String logEventFilterPattern)An optional pattern to filter the results to include only log events that match the pattern.LiveTailSessionStart.BuilderlogGroupIdentifiers(String... logGroupIdentifiers)An array of the names and ARNs of the log groups included in this Live Tail session.LiveTailSessionStart.BuilderlogGroupIdentifiers(Collection<String> logGroupIdentifiers)An array of the names and ARNs of the log groups included in this Live Tail session.LiveTailSessionStart.BuilderlogStreamNamePrefixes(String... logStreamNamePrefixes)If your StartLiveTail operation request included alogStreamNamePrefixesparameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.LiveTailSessionStart.BuilderlogStreamNamePrefixes(Collection<String> logStreamNamePrefixes)If your StartLiveTail operation request included alogStreamNamePrefixesparameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.LiveTailSessionStart.BuilderlogStreamNames(String... logStreamNames)If your StartLiveTail operation request included alogStreamNamesparameter that filtered the session to only include certain log streams, these streams are listed here.LiveTailSessionStart.BuilderlogStreamNames(Collection<String> logStreamNames)If your StartLiveTail operation request included alogStreamNamesparameter that filtered the session to only include certain log streams, these streams are listed here.LiveTailSessionStart.BuilderrequestId(String requestIdValue)The unique ID generated by CloudWatch Logs to identify this Live Tail session request.List<SdkField<?>>sdkFields()LiveTailSessionStart.BuildersessionId(String sessionId)The unique ID generated by CloudWatch Logs to identify this Live Tail session.voidsetLogEventFilterPattern(String logEventFilterPattern)voidsetLogGroupIdentifiers(Collection<String> logGroupIdentifiers)voidsetLogStreamNamePrefixes(Collection<String> logStreamNamePrefixes)voidsetLogStreamNames(Collection<String> logStreamNames)voidsetRequestId(String requestIdValue)voidsetSessionId(String sessionId)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(LiveTailSessionStart model)
-
-
Method Detail
-
getRequestId
public final String getRequestId()
-
setRequestId
public final void setRequestId(String requestIdValue)
-
requestId
public final LiveTailSessionStart.Builder requestId(String requestIdValue)
Description copied from interface:LiveTailSessionStart.BuilderThe unique ID generated by CloudWatch Logs to identify this Live Tail session request.
- Specified by:
requestIdin interfaceLiveTailSessionStart.Builder- Parameters:
requestIdValue- 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.BuilderThe unique ID generated by CloudWatch Logs to identify this Live Tail session.
- Specified by:
sessionIdin interfaceLiveTailSessionStart.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.BuilderAn array of the names and ARNs of the log groups included in this Live Tail session.
- Specified by:
logGroupIdentifiersin interfaceLiveTailSessionStart.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.BuilderAn array of the names and ARNs of the log groups included in this Live Tail session.
- Specified by:
logGroupIdentifiersin interfaceLiveTailSessionStart.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.BuilderIf your StartLiveTail operation request included a
logStreamNamesparameter that filtered the session to only include certain log streams, these streams are listed here.- Specified by:
logStreamNamesin interfaceLiveTailSessionStart.Builder- Parameters:
logStreamNames- If your StartLiveTail operation request included alogStreamNamesparameter 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.BuilderIf your StartLiveTail operation request included a
logStreamNamesparameter that filtered the session to only include certain log streams, these streams are listed here.- Specified by:
logStreamNamesin interfaceLiveTailSessionStart.Builder- Parameters:
logStreamNames- If your StartLiveTail operation request included alogStreamNamesparameter 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.BuilderIf your StartLiveTail operation request included a
logStreamNamePrefixesparameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.- Specified by:
logStreamNamePrefixesin interfaceLiveTailSessionStart.Builder- Parameters:
logStreamNamePrefixes- If your StartLiveTail operation request included alogStreamNamePrefixesparameter 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.BuilderIf your StartLiveTail operation request included a
logStreamNamePrefixesparameter that filtered the session to only include log streams that have names that start with certain prefixes, these prefixes are listed here.- Specified by:
logStreamNamePrefixesin interfaceLiveTailSessionStart.Builder- Parameters:
logStreamNamePrefixes- If your StartLiveTail operation request included alogStreamNamePrefixesparameter 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.BuilderAn optional pattern to filter the results to include only log events that match the pattern. For example, a filter pattern of
error 404displays only log events that include botherrorand404.For more information about filter pattern syntax, see Filter and Pattern Syntax.
- Specified by:
logEventFilterPatternin interfaceLiveTailSessionStart.Builder- Parameters:
logEventFilterPattern- An optional pattern to filter the results to include only log events that match the pattern. For example, a filter pattern oferror 404displays only log events that include botherrorand404.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:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<LiveTailSessionStart.Builder,LiveTailSessionStart>
-
-