Class GetAuditLogsOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.global_catalog.v1.model.GetAuditLogsOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetAuditLogsOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe getAuditLogs options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetAuditLogsOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringaccount()Gets the account.java.lang.Stringascending()Gets the ascending.java.lang.Stringid()Gets the id.java.lang.Longlimit()Gets the limit.GetAuditLogsOptions.BuildernewBuilder()New builder.java.lang.Longoffset()Gets the offset.java.lang.Stringstartat()Gets the startat.
-
-
-
Method Detail
-
newBuilder
public GetAuditLogsOptions.Builder newBuilder()
New builder.- Returns:
- a GetAuditLogsOptions builder
-
id
public java.lang.String id()
Gets the id. The object's unique ID.- Returns:
- the id
-
account
public java.lang.String account()
Gets the account. This changes the scope of the request regardless of the authorization header. Example scopes are `account` and `global`. `account=global` is reqired if operating with a service ID that has a global admin policy, for example `GET /?account=global`.- Returns:
- the account
-
ascending
public java.lang.String ascending()
Gets the ascending. Sets the sort order. False is descending.- Returns:
- the ascending
-
startat
public java.lang.String startat()
Gets the startat. Starting time for the logs. If it's descending then the entries will be equal or earlier. The default is latest. For ascending it will entries equal or later. The default is earliest. It can be either a number or a string. If a number then it is in the format of Unix timestamps. If it is a string then it is a date in the format YYYY-MM-DDTHH:MM:SSZ and the time is UTC. The T and the Z are required. For example: 2017-12-24T12:00:00Z for Noon UTC on Dec 24, 2017.- Returns:
- the startat
-
offset
public java.lang.Long offset()
Gets the offset. Count of number of log entries to skip before returning logs. The default is zero.- Returns:
- the offset
-
limit
public java.lang.Long limit()
Gets the limit. Count of number of entries to return. The default is fifty. The maximum value is two hundred.- Returns:
- the limit
-
-