Record Class DescribeQueriesOptions
java.lang.Object
java.lang.Record
codes.grow.packages.cloudwatchlogs.DescribeQueriesOptions
- Record Components:
group- only queries of this log groupstatus- only queries with this statusmaxResults- maximum queries (1–1000)
public record DescribeQueriesOptions(String group, QueryStatus status, Integer maxResults)
extends Record
Options of
describeQueries.
Build with builder(); unset values are null and take the documented default.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDescribeQueriesOptions(String group, QueryStatus status, Integer maxResults) Creates an instance of aDescribeQueriesOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Starts a builder.static DescribeQueriesOptionsdefaults()Options with every default.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themaxResultsrecord component.status()Returns the value of thestatusrecord component.Returns a builder holding these values.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DescribeQueriesOptions
Creates an instance of aDescribeQueriesOptionsrecord class.- Parameters:
group- the value for thegrouprecord componentstatus- the value for thestatusrecord componentmaxResults- the value for themaxResultsrecord component
-
-
Method Details
-
defaults
Options with every default.- Returns:
- the options
-
builder
Starts a builder.- Returns:
- a new builder
-
toBuilder
Returns a builder holding these values.- Returns:
- a new builder
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
maxResults
Returns the value of themaxResultsrecord component.- Returns:
- the value of the
maxResultsrecord component
-