public static class UpdateAnnouncementsPreferenceRequest.Builder extends Object implements BmcRequest.Builder<UpdateAnnouncementsPreferenceRequest,UpdateAnnouncementsPreferencesDetails>
Modifier and Type | Method and Description |
---|---|
UpdateAnnouncementsPreferenceRequest.Builder |
announcementsPreferenceDetails(UpdateAnnouncementsPreferencesDetails announcementsPreferenceDetails)
The object that contains details about tenancy preferences for receiving announcements by email.
|
UpdateAnnouncementsPreferenceRequest.Builder |
body$(UpdateAnnouncementsPreferencesDetails body)
Alternative setter for the body parameter.
|
UpdateAnnouncementsPreferenceRequest |
build()
Build the instance of UpdateAnnouncementsPreferenceRequest as configured by this builder
|
UpdateAnnouncementsPreferenceRequest |
buildWithoutInvocationCallback() |
UpdateAnnouncementsPreferenceRequest.Builder |
copy(UpdateAnnouncementsPreferenceRequest o)
Copy method to populate the builder with values from the given instance.
|
UpdateAnnouncementsPreferenceRequest.Builder |
ifMatch(String ifMatch)
The locking version, used for optimistic concurrency control.
|
UpdateAnnouncementsPreferenceRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
UpdateAnnouncementsPreferenceRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
UpdateAnnouncementsPreferenceRequest.Builder |
preferenceId(String preferenceId)
The ID of the preference.
|
UpdateAnnouncementsPreferenceRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
String |
toString() |
public UpdateAnnouncementsPreferenceRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic UpdateAnnouncementsPreferenceRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic UpdateAnnouncementsPreferenceRequest.Builder copy(UpdateAnnouncementsPreferenceRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<UpdateAnnouncementsPreferenceRequest,UpdateAnnouncementsPreferencesDetails>
o
- other request from which to copy valuespublic UpdateAnnouncementsPreferenceRequest build()
Build the instance of UpdateAnnouncementsPreferenceRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<UpdateAnnouncementsPreferenceRequest,UpdateAnnouncementsPreferencesDetails>
public UpdateAnnouncementsPreferenceRequest.Builder body$(UpdateAnnouncementsPreferencesDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<UpdateAnnouncementsPreferenceRequest,UpdateAnnouncementsPreferencesDetails>
body
- the body parameterpublic UpdateAnnouncementsPreferenceRequest.Builder preferenceId(String preferenceId)
The ID of the preference.
this
.public UpdateAnnouncementsPreferenceRequest.Builder announcementsPreferenceDetails(UpdateAnnouncementsPreferencesDetails announcementsPreferenceDetails)
The object that contains details about tenancy preferences for receiving announcements by email.
this
.public UpdateAnnouncementsPreferenceRequest.Builder opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the complete request ID.
this
.public UpdateAnnouncementsPreferenceRequest.Builder ifMatch(String ifMatch)
The locking version, used for optimistic concurrency control.
this
.public UpdateAnnouncementsPreferenceRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.