Interface ListMobileDeviceAccessRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMobileDeviceAccessRulesResponse.Builder,,ListMobileDeviceAccessRulesResponse> SdkBuilder<ListMobileDeviceAccessRulesResponse.Builder,,ListMobileDeviceAccessRulesResponse> SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
ListMobileDeviceAccessRulesResponse
public static interface ListMobileDeviceAccessRulesResponse.Builder
extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListMobileDeviceAccessRulesResponse.Builder,ListMobileDeviceAccessRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrules(Collection<MobileDeviceAccessRule> rules) The list of mobile device access rules that exist under the specified WorkMail organization.rules(Consumer<MobileDeviceAccessRule.Builder>... rules) The list of mobile device access rules that exist under the specified WorkMail organization.rules(MobileDeviceAccessRule... rules) The list of mobile device access rules that exist under the specified WorkMail organization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
rules
The list of mobile device access rules that exist under the specified WorkMail organization.
- Parameters:
rules- The list of mobile device access rules that exist under the specified WorkMail organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
The list of mobile device access rules that exist under the specified WorkMail organization.
- Parameters:
rules- The list of mobile device access rules that exist under the specified WorkMail organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
ListMobileDeviceAccessRulesResponse.Builder rules(Consumer<MobileDeviceAccessRule.Builder>... rules) The list of mobile device access rules that exist under the specified WorkMail organization.
This is a convenience method that creates an instance of theMobileDeviceAccessRule.Builderavoiding the need to create one manually viaMobileDeviceAccessRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<MobileDeviceAccessRule>).- Parameters:
rules- a consumer that will call methods onMobileDeviceAccessRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-