software.amazon.awssdk.utils.ToString.build()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(7.6k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中software.amazon.awssdk.utils.ToString.build()方法的一些代码示例,展示了ToString.build()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ToString.build()方法的具体详情如下:
包路径:software.amazon.awssdk.utils.ToString
类名称:ToString
方法名:build

ToString.build介绍

[英]Convert this result to a string. The behavior of calling other methods after this one is undefined.
[中]将此结果转换为字符串。在此方法之后调用其他方法的行为未定义。

代码示例

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("EnableDomainAutoRenewResponse").build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("AssociateResolverRuleResponse").add("ResolverRuleAssociation", resolverRuleAssociation())
      .build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("DisassociateResolverEndpointIpAddressResponse").add("ResolverEndpoint", resolverEndpoint())
      .build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("ResourceRecord").add("Value", value()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("CheckDomainTransferabilityResponse").add("Transferability", transferability()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("RegisterDomainResponse").add("OperationId", operationId()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("DisableDomainTransferLockResponse").add("OperationId", operationId()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("UpdateTrafficPolicyCommentResponse").add("TrafficPolicy", trafficPolicy()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("DomainTransferability").add("Transferable", transferableAsString()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("DeleteResolverEndpointRequest").add("ResolverEndpointId", resolverEndpointId()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("UpdateHostedZoneCommentRequest").add("Id", id()).add("Comment", comment()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("CopyObjectResult").add("ETag", eTag()).add("LastModified", lastModified()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("ReusableDelegationSetLimit").add("Type", typeAsString()).add("Value", value()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("GetBucketAclResponse").add("Owner", owner()).add("Grants", grants()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("Tag").add("Key", key()).add("Value", value()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("UntagResourceRequest").add("ResourceArn", resourceArn()).add("TagKeys", tagKeys()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("CopyPartResult").add("ETag", eTag()).add("LastModified", lastModified()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("AnalyticsConfiguration").add("Id", id()).add("Filter", filter())
      .add("StorageClassAnalysis", storageClassAnalysis()).build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("Encryption").add("EncryptionType", encryptionTypeAsString())
      .add("KMSKeyId", kmsKeyId() == null ? null : "*** Sensitive Data Redacted ***").add("KMSContext", kmsContext())
      .build();
}

代码示例来源:origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("TrafficPolicyInstance").add("Id", id()).add("HostedZoneId", hostedZoneId()).add("Name", name())
      .add("TTL", ttl()).add("State", state()).add("Message", message()).add("TrafficPolicyId", trafficPolicyId())
      .add("TrafficPolicyVersion", trafficPolicyVersion()).add("TrafficPolicyType", trafficPolicyTypeAsString())
      .build();
}

相关文章