Interface ListInstanceProfilesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListInstanceProfilesResponse.Builder,ListInstanceProfilesResponse>,IamResponse.Builder,SdkBuilder<ListInstanceProfilesResponse.Builder,ListInstanceProfilesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListInstanceProfilesResponse
public static interface ListInstanceProfilesResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ListInstanceProfilesResponse.Builder,ListInstanceProfilesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstanceProfilesResponse.BuilderinstanceProfiles(Collection<InstanceProfile> instanceProfiles)A list of instance profiles.ListInstanceProfilesResponse.BuilderinstanceProfiles(Consumer<InstanceProfile.Builder>... instanceProfiles)A list of instance profiles.ListInstanceProfilesResponse.BuilderinstanceProfiles(InstanceProfile... instanceProfiles)A list of instance profiles.ListInstanceProfilesResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more items to return.ListInstanceProfilesResponse.Buildermarker(String marker)WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
instanceProfiles
ListInstanceProfilesResponse.Builder instanceProfiles(Collection<InstanceProfile> instanceProfiles)
A list of instance profiles.
- Parameters:
instanceProfiles- A list of instance profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfiles
ListInstanceProfilesResponse.Builder instanceProfiles(InstanceProfile... instanceProfiles)
A list of instance profiles.
- Parameters:
instanceProfiles- A list of instance profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceProfiles
ListInstanceProfilesResponse.Builder instanceProfiles(Consumer<InstanceProfile.Builder>... instanceProfiles)
A list of instance profiles.
This is a convenience method that creates an instance of theInstanceProfile.Builderavoiding the need to create one manually viaInstanceProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceProfiles(List.) - Parameters:
instanceProfiles- a consumer that will call methods onInstanceProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instanceProfiles(java.util.Collection)
-
isTruncated
ListInstanceProfilesResponse.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the
Markerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Parameters:
isTruncated- A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using theMarkerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
ListInstanceProfilesResponse.Builder marker(String marker)
When
IsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
marker- WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-