Interface MSTeamsConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MSTeamsConfiguration.Builder,,MSTeamsConfiguration> SdkBuilder<MSTeamsConfiguration.Builder,,MSTeamsConfiguration> SdkPojo
- Enclosing class:
MSTeamsConfiguration
@Mutable
@NotThreadSafe
public static interface MSTeamsConfiguration.Builder
extends SdkPojo, CopyableBuilder<MSTeamsConfiguration.Builder,MSTeamsConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the Microsoft Teams team to connect to the DevOps Agent service.The name of the Microsoft Teams team to connect to the DevOps Agent service.default MSTeamsConfiguration.BuildertransmissionTarget(Consumer<MSTeamsTransmissionTarget.Builder> transmissionTarget) The Microsoft Teams channels that receive agent notifications.transmissionTarget(MSTeamsTransmissionTarget transmissionTarget) The Microsoft Teams channels that receive agent notifications.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
-
teamId
The identifier of the Microsoft Teams team to connect to the DevOps Agent service.
- Parameters:
teamId- The identifier of the Microsoft Teams team to connect to the DevOps Agent service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
teamName
The name of the Microsoft Teams team to connect to the DevOps Agent service.
- Parameters:
teamName- The name of the Microsoft Teams team to connect to the DevOps Agent service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transmissionTarget
The Microsoft Teams channels that receive agent notifications.
- Parameters:
transmissionTarget- The Microsoft Teams channels that receive agent notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transmissionTarget
default MSTeamsConfiguration.Builder transmissionTarget(Consumer<MSTeamsTransmissionTarget.Builder> transmissionTarget) The Microsoft Teams channels that receive agent notifications.
This is a convenience method that creates an instance of theMSTeamsTransmissionTarget.Builderavoiding the need to create one manually viaMSTeamsTransmissionTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransmissionTarget(MSTeamsTransmissionTarget).- Parameters:
transmissionTarget- a consumer that will call methods onMSTeamsTransmissionTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-