Class Integration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Integration.Builder,Integration>
A connection between CloudWatch and an external system — such as a source of telemetry or configuration data, a messaging destination, or a model provider.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe URL the customer visits to authorize the integration.final AuthTypeauthType()Returns the value of the AuthType property for this object.final StringReturns the value of the AuthType property for this object.static Integration.Builderbuilder()final InstantThe time at which the integration was created.final StringThe Amazon Resource Name (ARN) of the secret that stores the integration's credentials.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringA human-readable description of why the integration is in an ERROR or FAILED state.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the IntegrationAttributes property.final StringThe Amazon Resource Name (ARN) of the integration.Provider-specific key/value attributes that configure the integration.final StringThe unique identifier of the integration.final IntegrationTypeReturns the value of the IntegrationType property for this object.final StringReturns the value of the IntegrationType property for this object.final Stringname()The customer-provided name of the integration.final StringroleArn()The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.final Scopescope()Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule).final StringWhether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule).static Class<? extends Integration.Builder> final IntegrationStatusstatus()Returns the value of the Status property for this object.final StringReturns the value of the Status property for this object.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe time at which the integration was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
integrationId
The unique identifier of the integration.
- Returns:
- The unique identifier of the integration.
-
integrationArn
The Amazon Resource Name (ARN) of the integration.
- Returns:
- The Amazon Resource Name (ARN) of the integration.
-
integrationType
Returns the value of the IntegrationType property for this object.If the service returns an enum value that is not available in the current SDK version,
integrationTypewill returnIntegrationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromintegrationTypeAsString().- Returns:
- The value of the IntegrationType property for this object.
- See Also:
-
integrationTypeAsString
Returns the value of the IntegrationType property for this object.If the service returns an enum value that is not available in the current SDK version,
integrationTypewill returnIntegrationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromintegrationTypeAsString().- Returns:
- The value of the IntegrationType property for this object.
- See Also:
-
name
The customer-provided name of the integration.
- Returns:
- The customer-provided name of the integration.
-
status
Returns the value of the Status property for this object.If the service returns an enum value that is not available in the current SDK version,
statuswill returnIntegrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The value of the Status property for this object.
- See Also:
-
statusAsString
Returns the value of the Status property for this object.If the service returns an enum value that is not available in the current SDK version,
statuswill returnIntegrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The value of the Status property for this object.
- See Also:
-
authType
Returns the value of the AuthType property for this object.If the service returns an enum value that is not available in the current SDK version,
authTypewill returnAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The value of the AuthType property for this object.
- See Also:
-
authTypeAsString
Returns the value of the AuthType property for this object.If the service returns an enum value that is not available in the current SDK version,
authTypewill returnAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The value of the AuthType property for this object.
- See Also:
-
credentialArn
The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.
- Returns:
- The Amazon Resource Name (ARN) of the secret that stores the integration's credentials.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that CloudWatch assumes to access the external system.
-
hasIntegrationAttributes
public final boolean hasIntegrationAttributes()For responses, this returns true if the service returned a value for the IntegrationAttributes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
integrationAttributes
Provider-specific key/value attributes that configure the integration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasIntegrationAttributes()method.- Returns:
- Provider-specific key/value attributes that configure the integration.
-
authorizationUrl
The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.
- Returns:
- The URL the customer visits to authorize the integration. Present while an OAuth authorization is pending.
-
errorMessage
A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.
- Returns:
- A human-readable description of why the integration is in an ERROR or FAILED state. Present only when the integration has failed.
-
createdAt
The time at which the integration was created.
- Returns:
- The time at which the integration was created.
-
updatedAt
The time at which the integration was last updated.
- Returns:
- The time at which the integration was last updated.
-
scope
Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.
- See Also:
-
scopeAsString
Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- Whether this integration is account-scoped (ACCOUNT, customer-created) or organization-scoped (ORGANIZATION, created by an org-enablement rule). Absent on legacy records is treated as ACCOUNT.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Integration.Builder,Integration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-