Record Class DescribeLogGroupsOptions
java.lang.Object
java.lang.Record
codes.grow.packages.cloudwatchlogs.DescribeLogGroupsOptions
- Record Components:
prefix- name prefixpageSize- groups per request, 1–50 (default 50)limit- stop after this many groups
public record DescribeLogGroupsOptions(String prefix, Integer pageSize, Integer limit)
extends Record
Options of
describeLogGroups.
Build with builder(); unset values are null and take the documented default.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDescribeLogGroupsOptions(String prefix, Integer pageSize, Integer limit) Creates an instance of aDescribeLogGroupsOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Starts a builder.static DescribeLogGroupsOptionsdefaults()Options with every default.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.limit()Returns the value of thelimitrecord component.pageSize()Returns the value of thepageSizerecord component.prefix()Returns the value of theprefixrecord component.Returns a builder holding these values.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
prefix
Returns the value of theprefixrecord component.- Returns:
- the value of the
prefixrecord component
-
pageSize
Returns the value of thepageSizerecord component.- Returns:
- the value of the
pageSizerecord component
-
limit
Returns the value of thelimitrecord component.- Returns:
- the value of the
limitrecord component
-