Interface NewRelicServiceAuthorizationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NewRelicServiceAuthorizationConfig.Builder,,NewRelicServiceAuthorizationConfig> SdkBuilder<NewRelicServiceAuthorizationConfig.Builder,,NewRelicServiceAuthorizationConfig> SdkPojo
- Enclosing class:
NewRelicServiceAuthorizationConfig
@Mutable
@NotThreadSafe
public static interface NewRelicServiceAuthorizationConfig.Builder
extends SdkPojo, CopyableBuilder<NewRelicServiceAuthorizationConfig.Builder,NewRelicServiceAuthorizationConfig>
-
Method Summary
Modifier and TypeMethodDescriptionapiKey(Consumer<NewRelicApiKeyConfig.Builder> apiKey) New Relic API Key authentication (apiKey, accountId, region).apiKey(NewRelicApiKeyConfig apiKey) New Relic API Key authentication (apiKey, accountId, region).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
-
apiKey
New Relic API Key authentication (apiKey, accountId, region).
- Parameters:
apiKey- New Relic API Key authentication (apiKey, accountId, region).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
apiKey
default NewRelicServiceAuthorizationConfig.Builder apiKey(Consumer<NewRelicApiKeyConfig.Builder> apiKey) New Relic API Key authentication (apiKey, accountId, region).
This is a convenience method that creates an instance of theNewRelicApiKeyConfig.Builderavoiding the need to create one manually viaNewRelicApiKeyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiKey(NewRelicApiKeyConfig).- Parameters:
apiKey- a consumer that will call methods onNewRelicApiKeyConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-