Class ListLogSubscriptionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.directory.model.DirectoryRequest
-
- software.amazon.awssdk.services.directory.model.ListLogSubscriptionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListLogSubscriptionsRequest.Builder,ListLogSubscriptionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListLogSubscriptionsRequest extends DirectoryRequest implements ToCopyableBuilder<ListLogSubscriptionsRequest.Builder,ListLogSubscriptionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListLogSubscriptionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListLogSubscriptionsRequest.Builderbuilder()StringdirectoryId()If a DirectoryID is provided, lists only the log subscription associated with that directory.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()The maximum number of items returned.StringnextToken()The token for the next set of items to return.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListLogSubscriptionsRequest.Builder>serializableBuilderClass()ListLogSubscriptionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
directoryId
public final String directoryId()
If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
- Returns:
- If a DirectoryID is provided, lists only the log subscription associated with that directory. If no DirectoryId is provided, lists all log subscriptions associated with your Amazon Web Services account. If there are no log subscriptions for the Amazon Web Services account or the directory, an empty list will be returned.
-
nextToken
public final String nextToken()
The token for the next set of items to return.
- Returns:
- The token for the next set of items to return.
-
limit
public final Integer limit()
The maximum number of items returned.
- Returns:
- The maximum number of items returned.
-
toBuilder
public ListLogSubscriptionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListLogSubscriptionsRequest.Builder,ListLogSubscriptionsRequest>- Specified by:
toBuilderin classDirectoryRequest
-
builder
public static ListLogSubscriptionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListLogSubscriptionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-