Class ListServiceSpecificCredentialsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iam.model.IamRequest
-
- software.amazon.awssdk.services.iam.model.ListServiceSpecificCredentialsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListServiceSpecificCredentialsRequest.Builder,ListServiceSpecificCredentialsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListServiceSpecificCredentialsRequest extends IamRequest implements ToCopyableBuilder<ListServiceSpecificCredentialsRequest.Builder,ListServiceSpecificCredentialsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListServiceSpecificCredentialsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallUsers()A flag indicating whether to list service specific credentials for all users.static ListServiceSpecificCredentialsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmarker()Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated.IntegermaxItems()Use this only when paginating results to indicate the maximum number of items you want in the response.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListServiceSpecificCredentialsRequest.Builder>serializableBuilderClass()StringserviceName()Filters the returned results to only those for the specified Amazon Web Services service.ListServiceSpecificCredentialsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserName()The name of the user whose service-specific credentials you want information about.-
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
-
userName
public final String userName()
The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- Returns:
- The name of the user whose service-specific credentials you want information about. If this value is not
specified, then the operation assumes the user whose credentials are used to call the operation.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
-
serviceName
public final String serviceName()
Filters the returned results to only those for the specified Amazon Web Services service. If not specified, then Amazon Web Services returns service-specific credentials for all services.
- Returns:
- Filters the returned results to only those for the specified Amazon Web Services service. If not specified, then Amazon Web Services returns service-specific credentials for all services.
-
allUsers
public final Boolean allUsers()
A flag indicating whether to list service specific credentials for all users. This parameter cannot be specified together with UserName. When true, returns all credentials associated with the specified service.
- Returns:
- A flag indicating whether to list service specific credentials for all users. This parameter cannot be specified together with UserName. When true, returns all credentials associated with the specified service.
-
marker
public final String marker()
Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker from the response that you received to indicate where the next call should start.
- Returns:
- Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker from the response that you received to indicate where the next call should start.
-
maxItems
public final Integer maxItems()
Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.
- Returns:
- Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.
-
toBuilder
public ListServiceSpecificCredentialsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListServiceSpecificCredentialsRequest.Builder,ListServiceSpecificCredentialsRequest>- Specified by:
toBuilderin classIamRequest
-
builder
public static ListServiceSpecificCredentialsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListServiceSpecificCredentialsRequest.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
-
-