Interface PagerDutyConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PagerDutyConfiguration.Builder,,PagerDutyConfiguration> SdkBuilder<PagerDutyConfiguration.Builder,,PagerDutyConfiguration> SdkPojo
- Enclosing class:
PagerDutyConfiguration
@Mutable
@NotThreadSafe
public static interface PagerDutyConfiguration.Builder
extends SdkPojo, CopyableBuilder<PagerDutyConfiguration.Builder,PagerDutyConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the PagerDuty configuration.default PagerDutyConfiguration.BuilderpagerDutyIncidentConfiguration(Consumer<PagerDutyIncidentConfiguration.Builder> pagerDutyIncidentConfiguration) Details about the PagerDuty service associated with the configuration.pagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration pagerDutyIncidentConfiguration) Details about the PagerDuty service associated with the configuration.The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the PagerDuty configuration.
- Parameters:
name- The name of the PagerDuty configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pagerDutyIncidentConfiguration
PagerDutyConfiguration.Builder pagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration pagerDutyIncidentConfiguration) Details about the PagerDuty service associated with the configuration.
- Parameters:
pagerDutyIncidentConfiguration- Details about the PagerDuty service associated with the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pagerDutyIncidentConfiguration
default PagerDutyConfiguration.Builder pagerDutyIncidentConfiguration(Consumer<PagerDutyIncidentConfiguration.Builder> pagerDutyIncidentConfiguration) Details about the PagerDuty service associated with the configuration.
This is a convenience method that creates an instance of thePagerDutyIncidentConfiguration.Builderavoiding the need to create one manually viaPagerDutyIncidentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration).- Parameters:
pagerDutyIncidentConfiguration- a consumer that will call methods onPagerDutyIncidentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secretId
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
- Parameters:
secretId- The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-